xref: /haiku/src/system/boot/arch/m68k/Jamfile (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
1SubDir HAIKU_TOP src system boot arch m68k ;
2
3DEFINES += _BOOT_MODE ;
4
5# TODO: Is there any reason to recompile arch_string.S here?
6local librootArchObjects =
7#	<src!system!libroot!posix!string!arch!$(TARGET_ARCH)>arch_string.o
8	arch_string.S
9;
10
11local kernelLibArchObjects =
12	<src!system!kernel!lib!arch!$(TARGET_ARCH)>byteorder.o
13	<src!system!kernel!lib!arch!$(TARGET_ARCH)>memset.o
14;
15
16BootMergeObject boot_arch_$(TARGET_KERNEL_ARCH).o :
17	arch_elf.cpp
18	$(librootArchObjects)
19	:
20	:
21	$(kernelLibArchObjects)
22;
23
24BootMergeObject boot_arch_m68k_030.o :
25	mmu_030.cpp
26	: -Wno-unused -mcpu=68030
27;
28
29BootMergeObject boot_arch_m68k_040.o :
30	mmu_040.cpp
31	: -Wno-unused -mcpu=68040 -Wa,-m68040
32;
33
34BootMergeObject boot_arch_m68k_060.o :
35	mmu_060.cpp
36	: -Wno-unused -mcpu=68060
37;
38
39SEARCH on [ FGristFiles arch_elf.cpp ]
40    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
41
42SEARCH on [ FGristFiles $(librootArchObjects) ]
43    = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ;
44