xref: /haiku/src/system/boot/arch/arm/Jamfile (revision cf02b29e4e0dd6d61c4bb25fcc8620e99d4908bf)
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.c
20	arch_elf.cpp
21	arch_video.cpp
22	$(librootArchObjects)
23	: -fno-pic
24	:
25	$(kernelLibArchObjects)
26;
27
28SEARCH on [ FGristFiles arch_elf.cpp uart.c ]
29    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
30
31SEARCH on [ FGristFiles $(librootArchObjects) ]
32    = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ;
33