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 <[email protected]>
This commit is contained in:
PulkoMandy
2021-01-01 00:45:13 +00:00
committed by waddlesplash
parent 964ce00391
commit cc6b376cfb
+4 -1
View File
@@ -46,7 +46,10 @@ rule KernelLd
LINK on $(1) = $(TARGET_LD_$(TARGET_PACKAGING_ARCH)) ;
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
# libsupc++ is opt-out.