Files
haiku-beta6/src/system/boot/arch/arm/Jamfile
T
Alexander von Gluck IV 5d0fd0e422 fdt: Major over-haul of fdt
* Consolidate all fdt code into fdt bus_manager
* Build boot and kernel static libraries

Change-Id: I2a69cd7e1f1276999a80734ff12918fd49b599e5
Reviewed-on: https://review.haiku-os.org/440
Reviewed-by: Alexander von Gluck IV <[email protected]>
2018-08-06 15:46:49 +00:00

82 lines
1.9 KiB
Plaintext

SubDir HAIKU_TOP src system boot arch arm ;
UseLibraryHeaders [ FDirName libfdt ] ;
UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ;
SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers fdt ;
{
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 =
# <src!system!libroot!posix!string!arch!$(TARGET_ARCH)>arch_string.o
arch_string.S
;
local kernelLibArchObjects =
<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
<src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o
;
local kernelDebugSources =
blue_screen.cpp
frame_buffer_console.cpp
;
local kernelArchDriverSources =
# Serial UART Drivers
arch_uart_8250.cpp
arch_uart_8250_omap.cpp
arch_uart_pl011.cpp
;
local kernelGenericDriverSources =
debug_uart_8250.cpp
;
BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o :
# Kernel Drivers (src/system/kernel)
$(kernelGenericDriverSources)
$(kernelArchDriverSources)
# Framebuffer Drivers
arch_framebuffer_920.cpp
arch_framebuffer_bcm2835.cpp
arch_framebuffer_pxa.cpp
arch_framebuffer_omap3.cpp
# Mailbox drivers
arch_mailbox_bcm2835.cpp
arch_elf.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 $(kernelArchDriverSources) ]
= [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
SEARCH on [ FGristFiles $(kernelGenericDriverSources) ]
= [ 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 ] ;