SubDir HAIKU_TOP src system boot arch arm ; UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ; #XXX: should not be needed here UseLibraryHeaders [ FDirName libfdt ] ; { local defines = _BOOT_MODE ; defines = [ FDefines $(defines) ] ; SubDirCcFlags $(defines) ; SubDirC++Flags $(defines) -fno-rtti -std=c++1y ; } # TODO: Is there any reason to recompile arch_string.S here? local librootArchObjects = # arch_string.o arch_string.S ; local kernelLibArchObjects = byteorder.o memset.o ; local kernelDebugSources = blue_screen.cpp frame_buffer_console.cpp ; BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o : debug_uart_8250.cpp arch_uart_8250.cpp arch_uart_pl011.cpp arch_elf.cpp arch_framebuffer_920.cpp arch_framebuffer_bcm2835.cpp arch_framebuffer_pxa.cpp arch_framebuffer_omap3.cpp arch_mailbox_bcm2835.cpp arch_cpu.cpp arch_mmu.cpp arch_start_kernel.S # Reuse a subset of kernel debugging. kernel_stubs.cpp $(kernelDebugSources) $(librootArchObjects) : : $(kernelLibArchObjects) ; SEARCH on [ FGristFiles arch_elf.cpp uart.cpp arch_uart_8250.cpp arch_uart_pl011.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ; SEARCH on [ FGristFiles debug_uart_8250.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ; SEARCH on [ FGristFiles $(librootArchObjects) ] = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ; SEARCH on [ FGristFiles $(kernelDebugSources) ] = [ FDirName $(HAIKU_TOP) src system kernel debug ] ;