link bootloader with libgcc-boot.a and libsupc++-boot.a on ARM

Change-Id: Ia7f41191136db3ea34ed6abee97ae627bb7b1727
Reviewed-on: https://review.haiku-os.org/c/haiku/+/4703
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
David Karoly
2021-12-11 14:07:06 +00:00
committed by Adrien Destugues
parent 123aa1325c
commit 69f4a74149
2 changed files with 15 additions and 0 deletions
+12
View File
@@ -134,6 +134,12 @@ rule TargetBootLibsupc++ asPath
if $(asPath) = true {
flags += path ;
}
if $(TARGET_PACKAGING_ARCH) = arm {
return [
BuildFeatureAttribute gcc_syslibs_devel
: libsupc++-boot.a : $(flags)
] ;
}
return [
BuildFeatureAttribute gcc_syslibs_devel
: libsupc++-kernel.a : $(flags)
@@ -246,6 +252,12 @@ rule TargetBootLibgcc architecture : asPath
if $(asPath) = true {
flags += path ;
}
if $(architecture) = arm {
return [
BuildFeatureAttribute QUALIFIED $(architecture):gcc_syslibs_devel
: libgcc-boot.a : $(flags)
] ;
}
return [
BuildFeatureAttribute QUALIFIED $(architecture):gcc_syslibs_devel
: libgcc-kernel.a : $(flags)