xref: /haiku/src/system/boot/arch/m68k/Jamfile (revision f2b4344867e97c3f4e742a1b4a15e6879644601a)
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
16KernelMergeObject boot_arch_$(TARGET_ARCH).o :
17	arch_elf.cpp
18	$(librootArchObjects)
19	: -fno-pic
20	:
21	$(kernelLibArchObjects)
22;
23
24KernelMergeObject boot_arch_$(TARGET_ARCH)_030.o :
25	mmu_030.cpp
26	: -fno-pic -Wno-unused -m68030
27;
28
29KernelMergeObject boot_arch_$(TARGET_ARCH)_040.o :
30	mmu_040.cpp
31	: -fno-pic -Wno-unused -m68040
32;
33
34KernelMergeObject boot_arch_$(TARGET_ARCH)_060.o :
35	mmu_060.cpp
36	: -fno-pic -Wno-unused -m68060
37;
38
39SEARCH on [ FGristFiles arch_elf.cpp ]
40    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_ARCH) ] ;
41
42SEARCH on [ FGristFiles $(librootArchObjects) ]
43    = [ FDirName $(HAIKU_TOP) src system libroot posix string arch $(TARGET_ARCH) ] ;
44