BootRules: use non-legacy ld

Change-Id: I0dc6a1c8731e710a9c43b6dfa5ea08c84fa5d3a6
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4759
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
David Karoly
2021-12-06 03:08:27 +00:00
committed by waddlesplash
parent 8032682c23
commit f18aba2ca8
+6
View File
@@ -172,6 +172,8 @@ rule BootMergeObject
# will be added.
#
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
SetupBoot $(2) : $(3) ;
Objects $(2) ;
MergeObjectFromObjects $(1) : $(2:S=$(SUFOBJ)) : $(4) ;
@@ -184,6 +186,8 @@ rule BootStaticLibrary
# This is designed to take a set of sources and libraries and create
# a file called lib<name>.a
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
SetupBoot $(2) : $(3) : false ;
Library $(1) : $(2) ;
}
@@ -194,6 +198,8 @@ rule BootStaticLibraryObjects
# This is designed to take a set of sources and libraries and create
# a file called <name>
TARGET_PACKAGING_ARCH on $(1) = $(TARGET_KERNEL_ARCH) ;
# Show that we depend on the libraries we need
SetupBoot $(2) ;
LocalClean clean : $(1) ;