xref: /haiku/src/system/kernel/arch/ppc/Jamfile (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1SubDir HAIKU_TOP src system kernel arch ppc ;
2
3SubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
4UsePrivateKernelHeaders ;
5SubDirSysHdrs $(HAIKU_TOP) src add-ons kernel bus_managers fdt ;
6
7SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
8SEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) paging classic ] ;
10
11# cpu-specific stuff
12KernelMergeObject arch_ppc_classic.o :
13
14	arch_exceptions.S
15
16	# paging/classic
17	PPCPagingMethodClassic.cpp
18	PPCPagingStructuresClassic.cpp
19	PPCVMTranslationMapClassic.cpp
20
21	# XXX: compile with correct -mcpu ?
22	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
23;
24
25KernelMergeObject arch_ppc_460.o :
26
27	arch_exceptions_440.S
28
29	# paging/460
30	#PPCPagingMethod460.cpp
31	#PPCPagingStructures460.cpp
32	#PPCVMTranslationMap460.cpp
33
34
35	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=440fp
36;
37
38KernelMergeObject kernel_arch_ppc.o :
39	arch_commpage.cpp
40	arch_cpu.cpp
41	arch_cpu_asm.S
42	arch_debug_console.cpp
43	arch_debug.cpp
44	arch_elf.cpp
45	arch_int.cpp
46	arch_mmu.cpp
47	arch_platform.cpp
48	arch_real_time_clock.cpp
49	arch_smp.cpp
50	arch_system_info.cpp
51	arch_thread.cpp
52	arch_timer.cpp
53	arch_user_debugger.cpp
54	arch_vm.cpp
55	arch_vm_translation_map.cpp
56	arch_asm.S
57
58	# serial uart
59	debug_uart.cpp
60	debug_uart_8250.cpp
61
62	# paging
63	generic_vm_physical_page_mapper.cpp
64	generic_vm_physical_page_ops.cpp
65	GenericVMPhysicalPageMapper.cpp
66	PPCPagingMethod.cpp
67	PPCPagingStructures.cpp
68	PPCVMTranslationMap.cpp
69
70
71	:
72	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
73	:
74	arch_ppc_classic.o
75	arch_ppc_460.o
76	kernel_fdt.a
77;
78
79CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp : $(TARGET_KERNEL_ARCH) ;
80