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:
PulkoMandy 2020-12-31 13:58:23 +01:00 committed by waddlesplash
parent 964ce00391
commit cc6b376cfb

View File

@ -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.