xref: /haiku/src/system/glue/arch/arm64/Jamfile (revision 194a45c6b4183083afdc7fac7b9e85f9162cdeb2)
1*194a45c6SAlexander von Gluck IVSubDir HAIKU_TOP src system glue arch arm64 ;
2*194a45c6SAlexander von Gluck IV
3*194a45c6SAlexander von Gluck IVlocal architectureObject ;
4*194a45c6SAlexander von Gluck IVfor architectureObject in [ MultiArchSubDirSetup arm64 ] {
5*194a45c6SAlexander von Gluck IV	on $(architectureObject) {
6*194a45c6SAlexander von Gluck IV		local architecture = $(TARGET_PACKAGING_ARCH) ;
7*194a45c6SAlexander von Gluck IV
8*194a45c6SAlexander von Gluck IV		UsePrivateSystemHeaders ;
9*194a45c6SAlexander von Gluck IV
10*194a45c6SAlexander von Gluck IV		local sources =
11*194a45c6SAlexander von Gluck IV			crti.S
12*194a45c6SAlexander von Gluck IV			crtn.S
13*194a45c6SAlexander von Gluck IV			;
14*194a45c6SAlexander von Gluck IV		MergeObject <$(architecture)>glue_arch_$(TARGET_ARCH).o : $(sources) ;
15*194a45c6SAlexander von Gluck IV
16*194a45c6SAlexander von Gluck IV		if $(HAIKU_BUILD_TYPE) = bootstrap {
17*194a45c6SAlexander von Gluck IV			# build a version for stage0 of the bootstrap process
18*194a45c6SAlexander von Gluck IV			BootstrapStage0PlatformObjects [ FGristFiles $(sources) ] : true ;
19*194a45c6SAlexander von Gluck IV		}
20*194a45c6SAlexander von Gluck IV	}
21*194a45c6SAlexander von Gluck IV}
22