1SubDir HAIKU_TOP src system boot arch arm ; 2 3#XXX: should not be needed here 4UsePrivateHeaders [ FDirName kernel arch $(TARGET_KERNEL_ARCH) board $(TARGET_BOOT_BOARD) ] ; 5 6{ 7 local defines = _BOOT_MODE ; 8 9 defines = [ FDefines $(defines) ] ; 10 SubDirCcFlags $(defines) ; 11 SubDirC++Flags $(defines) -fno-rtti ; 12} 13 14# TODO: Is there any reason to recompile arch_string.S here? 15local librootArchObjects = 16# <src!system!libroot!posix!string!arch!$(TARGET_ARCH)>arch_string.o 17 arch_string.S 18; 19 20local kernelLibArchObjects = 21 <src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o 22 <src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o 23; 24 25local kernelDebugSources = 26 blue_screen.cpp 27 frame_buffer_console.cpp 28; 29 30BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o : 31 debug_uart_8250.cpp 32 arch_uart_8250.cpp 33 arch_uart_pl011.cpp 34 arch_elf.cpp 35 arch_framebuffer_920.cpp 36 arch_framebuffer_pxa.cpp 37 arch_framebuffer_omap3.cpp 38 arch_cpu.cpp 39 arch_mmu.cpp 40 arch_start_kernel.S 41 42 # Reuse a subset of kernel debugging. 43 kernel_stubs.cpp 44 $(kernelDebugSources) 45 46 $(librootArchObjects) 47 : -fno-pic 48 : 49 $(kernelLibArchObjects) 50; 51 52SEARCH on [ FGristFiles arch_elf.cpp uart.cpp arch_uart_8250.cpp arch_uart_pl011.cpp ] 53 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ; 54 55SEARCH on [ FGristFiles debug_uart_8250.cpp ] 56 = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; 57 58SEARCH on [ FGristFiles $(librootArchObjects) ] 59 = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ; 60 61SEARCH on [ FGristFiles $(kernelDebugSources) ] 62 = [ FDirName $(HAIKU_TOP) src system kernel debug ] ; 63