1SubDir HAIKU_TOP src system boot arch ppc ; 2 3local kernelLibArchObjects = 4 <src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o 5 <src!system!kernel!lib!arch!$(TARGET_ARCH)>memcpy.o 6 <src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o 7; 8 9local kernelGenericDriverSources = 10 debug_uart.cpp 11 debug_uart_8250.cpp 12; 13 14local platform ; 15for platform in [ MultiBootSubDirSetup openfirmware ] { 16 on $(platform) { 17 DEFINES += _BOOT_MODE ; 18 19 BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : 20 $(kernelGenericDriverSources) 21 arch_elf.cpp 22 : # additional flags 23 : 24 $(kernelArchObjects) 25 $(kernelLibArchObjects) 26 ; 27 28 SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ] 29 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 30 31 SEARCH on [ FGristFiles $(kernelGenericDriverSources) ] 32 = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 33 } 34} 35