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