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