SubDir HAIKU_TOP src system boot arch x86 ; DEFINES += _BOOT_MODE ; local kernelArchSources = arch_elf.cpp ; local kernelArch32Sources = cpuid.S ; local kernelLibArchSources = arch_string.S ; local librootOsArchSources = byteorder.S ; BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o : $(kernelArchSources) $(kernelArch32Sources) $(kernelLibArchSources) $(librootOsArchSources) : # additional flags ; SEARCH on [ FGristFiles $(kernelArchSources) ] = [ FDirName $(HAIKU_TOP) src system kernel arch x86 ] ; SEARCH on [ FGristFiles $(kernelArch32Sources) ] = [ FDirName $(HAIKU_TOP) src system kernel arch x86 32 ] ; SEARCH on [ FGristFiles $(kernelLibArchSources) ] = [ FDirName $(HAIKU_TOP) src system kernel lib arch x86 ] ; SEARCH on [ FGristFiles $(librootOsArchSources) ] = [ FDirName $(HAIKU_TOP) src system libroot os arch x86 ] ;