1SubDir HAIKU_TOP src system boot arch arm ; 2 3UsePrivateHeaders [ FDirName kernel arch arm ] ; 4UsePrivateHeaders [ FDirName kernel boot arch arm ] ; 5UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ; 6 7local librootGenericSources = 8 memcpy.c 9 memset.c 10; 11 12local kernelLibArchObjects = 13 <src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o 14; 15 16local kernelArchSources = 17 arch_elf.cpp 18 arch_uart_pl011.cpp 19; 20 21local kernelGenericDriverSources = 22 debug_uart.cpp 23 debug_uart_8250.cpp 24; 25 26local platform ; 27for platform in [ MultiBootSubDirSetup efi ] { 28 on $(platform) { 29 BootMergeObject [ FGristFiles boot_arch_$(TARGET_KERNEL_ARCH).o ] : 30 # Kernel Drivers (src/system/kernel) 31 $(kernelGenericDriverSources) 32 $(kernelArchSources) 33 34 arch_cpu.cpp 35 36 $(librootGenericSources) 37 $(librootArchSources) 38 : 39 : 40 $(kernelLibArchObjects) 41 ; 42 43 SEARCH on [ FGristFiles $(kernelGenericSources) ] 44 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 45 46 SEARCH on [ FGristFiles $(kernelArchSources) ] 47 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH_DIR) ] ; 48 49 SEARCH on [ FGristFiles $(kernelGenericDriverSources) ] 50 = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 51 52 SEARCH on [ FGristFiles $(librootGenericSources) ] 53 = [ FDirName $(HAIKU_TOP) src system libroot posix string arch generic ] ; 54 } 55} 56 57