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