1 SubDir HAIKU_TOP src system boot arch arm ;
3 UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ;
5 #XXX: should not be needed here
6 UseLibraryHeaders [ FDirName libfdt ] ;
9 local defines = _BOOT_MODE ;
11 defines = [ FDefines $(defines) ] ;
12 SubDirCcFlags $(defines) ;
13 SubDirC++Flags $(defines) -fno-rtti -std=c++1y ;
16 # TODO: Is there any reason to recompile arch_string.S here?
17 local librootArchObjects =
18 # <src!system!libroot!posix!string!arch!$(TARGET_ARCH)>arch_string.o
22 local kernelLibArchObjects =
23 <src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
24 <src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o
27 local kernelDebugSources =
29 frame_buffer_console.cpp
32 local kernelArchDriverSources =
35 arch_uart_8250_omap.cpp
39 local kernelGenericDriverSources =
43 BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o :
44 # Kernel Drivers (src/system/kernel)
45 $(kernelGenericDriverSources)
46 $(kernelArchDriverSources)
49 arch_framebuffer_920.cpp
50 arch_framebuffer_bcm2835.cpp
51 arch_framebuffer_pxa.cpp
52 arch_framebuffer_omap3.cpp
55 arch_mailbox_bcm2835.cpp
62 # Reuse a subset of kernel debugging.
69 $(kernelLibArchObjects)
72 SEARCH on [ FGristFiles arch_elf.cpp $(kernelArchDriverSources) ]
73 = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
75 SEARCH on [ FGristFiles $(kernelGenericDriverSources) ]
76 = [ FDirName $(HAIKU_TOP) src system kernel arch generic ] ;
78 SEARCH on [ FGristFiles $(librootArchObjects) ]
79 = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ;
81 SEARCH on [ FGristFiles $(kernelDebugSources) ]
82 = [ FDirName $(HAIKU_TOP) src system kernel debug ] ;