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 BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : 18 $(kernelGenericDriverSources) 19 arch_elf.cpp 20 : # additional flags 21 : 22 $(kernelArchObjects) 23 $(kernelLibArchObjects) 24 ; 25 26 SEARCH on [ FGristFiles arch_elf.cpp arch_uart_8250.cpp ] 27 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 28 29 SEARCH on [ FGristFiles $(kernelGenericDriverSources) ] 30 = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 31 } 32} 33