xref: /haiku/src/system/kernel/arch/ppc/Jamfile (revision ad115900dbd398d1cf0a2ef7a7e921a1fd53161c)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system kernel arch ppc ;
22d690920SAxel Dörfler
367ea83c5SIngo WeinholdSubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
46b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
591bc3a27SAlexander von Gluck IVSubDirSysHdrs $(HAIKU_TOP) src add-ons kernel bus_managers fdt ;
667ea83c5SIngo Weinhold
767ea83c5SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
862caef87SFrançois RevolSEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
962caef87SFrançois RevolSEARCH_SOURCE += [ FDirName $(SUBDIR) paging classic ] ;
1067ea83c5SIngo Weinhold
1109452515SFrançois Revol# cpu-specific stuff
1209452515SFrançois RevolKernelMergeObject arch_ppc_classic.o :
1309452515SFrançois Revol
14f5f6d7e6SFrançois Revol	arch_exceptions.S
15f5f6d7e6SFrançois Revol
1609452515SFrançois Revol	# paging/classic
1709452515SFrançois Revol	PPCPagingMethodClassic.cpp
1809452515SFrançois Revol	PPCPagingStructuresClassic.cpp
1909452515SFrançois Revol	PPCVMTranslationMapClassic.cpp
2009452515SFrançois Revol
2109452515SFrançois Revol	# XXX: compile with correct -mcpu ?
2209452515SFrançois Revol	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
2309452515SFrançois Revol;
2409452515SFrançois Revol
2509452515SFrançois RevolKernelMergeObject arch_ppc_460.o :
2609452515SFrançois Revol
27f5f6d7e6SFrançois Revol	arch_exceptions_440.S
28f5f6d7e6SFrançois Revol
2909452515SFrançois Revol	# paging/460
3009452515SFrançois Revol	#PPCPagingMethod460.cpp
3109452515SFrançois Revol	#PPCPagingStructures460.cpp
3209452515SFrançois Revol	#PPCVMTranslationMap460.cpp
3309452515SFrançois Revol
3409452515SFrançois Revol
3509452515SFrançois Revol	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=440fp
3609452515SFrançois Revol;
3709452515SFrançois Revol
382c8b410aSAxel DörflerKernelMergeObject kernel_arch_ppc.o :
39826e403dSFrançois Revol	arch_commpage.cpp
408baf8813SIngo Weinhold	arch_cpu.cpp
412d690920SAxel Dörfler	arch_cpu_asm.S
427afa713aSIngo Weinhold	arch_debug_console.cpp
4348fe700dSIngo Weinhold	arch_debug.cpp
4471848dd6SIngo Weinhold	arch_elf.cpp
45a06cbf3fSIngo Weinhold	arch_int.cpp
462d690920SAxel Dörfler	arch_mmu.cpp
477afa713aSIngo Weinhold	arch_platform.cpp
4827ceaeacSIngo Weinhold	arch_real_time_clock.cpp
493e236885SAxel Dörfler	arch_smp.cpp
503e236885SAxel Dörfler	arch_system_info.cpp
513e236885SAxel Dörfler	arch_thread.cpp
523e236885SAxel Dörfler	arch_timer.cpp
532d690920SAxel Dörfler	arch_user_debugger.cpp
542d690920SAxel Dörfler	arch_vm.cpp
552d690920SAxel Dörfler	arch_vm_translation_map.cpp
562d690920SAxel Dörfler	arch_asm.S
575d0fd0e4SAlexander von Gluck IV
58*ad115900SDavid Karoly	generic_msi.cpp
59*ad115900SDavid Karoly
605d0fd0e4SAlexander von Gluck IV	# serial uart
617068c454SAlexander von Gluck IV	debug_uart.cpp
622e27c020SFrançois Revol	debug_uart_8250.cpp
6367ea83c5SIngo Weinhold
6462caef87SFrançois Revol	# paging
6567ea83c5SIngo Weinhold	generic_vm_physical_page_mapper.cpp
6647c40a10SIngo Weinhold	generic_vm_physical_page_ops.cpp
67bcc2c157SIngo Weinhold	GenericVMPhysicalPageMapper.cpp
6862caef87SFrançois Revol	PPCPagingMethod.cpp
6962caef87SFrançois Revol	PPCPagingStructures.cpp
7062caef87SFrançois Revol	PPCVMTranslationMap.cpp
7162caef87SFrançois Revol
7262caef87SFrançois Revol
732d690920SAxel Dörfler	:
74957a1b17SIngo Weinhold	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
7509452515SFrançois Revol	:
7609452515SFrançois Revol	arch_ppc_classic.o
77f5f6d7e6SFrançois Revol	arch_ppc_460.o
785d0fd0e4SAlexander von Gluck IV	kernel_fdt.a
792d690920SAxel Dörfler;
80193a433aSIngo Weinhold
817aa55747SAugustin CavalierCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp : $(TARGET_KERNEL_ARCH) ;
82