xref: /haiku/src/system/boot/platform/u-boot/arch/ppc/Jamfile (revision d63ed5844d997a61afd7a6c4b7c9fad0dc01e9f3)
1SubDir HAIKU_TOP src system boot platform u-boot arch ppc ;
2
3SubDirHdrs $(HAIKU_TOP) src system boot platform $(TARGET_BOOT_PLATFORM) ;
4UsePrivateSystemHeaders ;
5UsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_KERNEL_ARCH) ]
6	[ FDirName kernel boot platform $(HAIKU_BOOT_PLATFORM) ] ;
7UsePrivateHeaders [ FDirName kernel arch $(TARGET_KERNEL_ARCH) board $(TARGET_BOOT_BOARD) ] ;
8
9UseLibraryHeaders [ FDirName libfdt ] ;
10
11SubDirC++Flags -fno-rtti ;
12
13BootMergeObject boot_platform_u-boot_ppc_amcc440.o :
14	arch_mmu_amcc440.cpp
15	: -mcpu=440
16;
17
18BootMergeObject boot_platform_u-boot_ppc.o :
19	# must come first to have _start_* at correct locations
20	shell.S
21
22	arch_mmu.cpp
23	arch_cpu_asm.S
24	arch_start_kernel.S
25	arch_cpu.cpp
26	#mmu.cpp
27	:
28	: boot_platform_u-boot_ppc_amcc440.o
29;
30
31SEARCH on [ FGristFiles arch_cpu_asm.S ]
32    = [ FDirName $(HAIKU_TOP) src system kernel arch $(TARGET_KERNEL_ARCH) ] ;
33