KernelLd: the kernel must be rebuilt when its linker script is modified.
Change-Id: I4f8bf6757b716f910116509419452cfc4c7f6216 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3580 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
parent
964ce00391
commit
cc6b376cfb
@ -46,7 +46,10 @@ rule KernelLd
|
|||||||
LINK on $(1) = $(TARGET_LD_$(TARGET_PACKAGING_ARCH)) ;
|
LINK on $(1) = $(TARGET_LD_$(TARGET_PACKAGING_ARCH)) ;
|
||||||
|
|
||||||
LINKFLAGS on $(1) = $(4) ;
|
LINKFLAGS on $(1) = $(4) ;
|
||||||
if $(3) { LINKFLAGS on $(1) += --script=$(3) ; }
|
if $(3) {
|
||||||
|
LINKFLAGS on $(1) += --script=$(3) ;
|
||||||
|
Depends $(1) : $(3) ;
|
||||||
|
}
|
||||||
|
|
||||||
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
# Remove any preset LINKLIBS, but link against libgcc.a. Linking against
|
||||||
# libsupc++ is opt-out.
|
# libsupc++ is opt-out.
|
||||||
|
Loading…
Reference in New Issue
Block a user