xref: /haiku/src/system/boot/arch/x86/Jamfile (revision 0d452c8f34013b611a54c746a71c05e28796eae2)
1SubDir HAIKU_TOP src system boot arch x86 ;
2
3DEFINES += _BOOT_MODE ;
4
5local kernelArchSources =
6	arch_elf.cpp
7;
8
9local kernelArchObjects =
10	<src!system!kernel!arch!$(TARGET_ARCH)>cpuid.o
11;
12
13local kernelLibArchSources =
14	arch_string.S
15;
16
17local kernelLibArchObjects =
18	<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
19;
20
21KernelMergeObject boot_arch_$(TARGET_ARCH).o :
22	$(kernelArchSources)
23	$(kernelLibArchSources)
24	: # additional flags
25	:
26	$(kernelArchObjects)
27	$(kernelLibArchObjects)
28;
29
30SEARCH on [ FGristFiles $(kernelArchSources) ]
31    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
32SEARCH on [ FGristFiles $(kernelLibArchSources) ]
33    = [ FDirName $(HAIKU_TOP) src system kernel lib arch $(TARGET_ARCH) ] ;
34