xref: /haiku/src/system/boot/arch/arm/Jamfile (revision 1294543de9ac0eff000eaea1b18368c36435d08e)
1SubDir HAIKU_TOP src system boot arch arm ;
2
3DEFINES += _BOOT_MODE ;
4
5UsePrivateHeaders [ FDirName kernel arch $(TARGET_ARCH) board $(TARGET_BOOT_BOARD) ] ;
6
7# TODO: Is there any reason to recompile arch_string.S here?
8local librootArchObjects =
9#	<src!system!libroot!posix!string!arch!$(TARGET_ARCH)>arch_string.o
10	arch_string.S
11;
12
13local kernelLibArchObjects =
14	<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
15	<src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o
16;
17
18KernelMergeObject boot_arch_$(TARGET_ARCH).o :
19	uart.cpp
20	arch_elf.cpp
21	arch_video.cpp
22	arch_video_920.cpp
23	arch_video_pxa.cpp
24	arch_video_omap3.cpp
25	$(librootArchObjects)
26	: -fno-pic
27	:
28	$(kernelLibArchObjects)
29;
30
31SEARCH on [ FGristFiles arch_elf.cpp uart.cpp ]
32    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
33
34SEARCH on [ FGristFiles $(librootArchObjects) ]
35    = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ;
36