SubDir HAIKU_TOP src system glue arch x86_64 ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup x86_64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateSystemHeaders ; local sources = crti.S crtn.S ; MergeObject <$(architecture)>glue_arch_$(TARGET_ARCH).o : $(sources) ; if $(HAIKU_BUILD_TYPE) = bootstrap { # build a version for stage0 of the bootstrap process BootstrapStage0PlatformObjects [ FGristFiles $(sources) ] : true ; } } }