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