SubDir HAIKU_TOP src system boot arch m68k ; local platform ; for platform in [ MultiBootSubDirSetup amiga_m68k atari_m68k next_m68k ] { on $(platform) { DEFINES += _BOOT_MODE ; local kernelArchSources = arch_elf.cpp ; local librootStringArchSources = arch_string.S ; local librootOsArchSources = byteorder.S ; local librootStringGenericSources = #memcpy.c memset.c ; BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : $(kernelArchSources) $(librootStringArchSources) $(librootOsArchSources) $(librootStringGenericSources) : ; BootMergeObject boot_arch_m68k_030.o : mmu_030.cpp : -Wno-unused -mcpu=68030 ; BootMergeObject boot_arch_m68k_040.o : mmu_040.cpp : -Wno-unused -mcpu=68040 -Wa,-m68040 ; BootMergeObject boot_arch_m68k_060.o : mmu_060.cpp : -Wno-unused -mcpu=68060 ; SEARCH on [ FGristFiles $(kernelArchSources) ] = [ FDirName $(HAIKU_TOP) src system kernel arch m68k ] ; SEARCH on [ FGristFiles $(librootStringArchSources) ] = [ FDirName $(HAIKU_TOP) src system libroot posix string arch m68k ] ; SEARCH on [ FGristFiles $(librootOsArchSources) ] = [ FDirName $(HAIKU_TOP) src system libroot os arch m68k ] ; SEARCH on [ FGristFiles $(librootStringGenericSources) ] = [ FDirName $(HAIKU_TOP) src system libroot posix string arch generic ] ; } }