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