xref: /haiku/src/system/kernel/arch/ppc/Jamfile (revision f5f6d7e6009d9e7147fca01e5dea70be7145898c)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system kernel arch ppc ;
22d690920SAxel Dörfler
367ea83c5SIngo WeinholdSubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
46b202f4eSIngo WeinholdUsePrivateKernelHeaders ;
567ea83c5SIngo Weinhold
667ea83c5SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
762caef87SFrançois RevolSEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
862caef87SFrançois RevolSEARCH_SOURCE += [ FDirName $(SUBDIR) paging classic ] ;
967ea83c5SIngo Weinhold
1009452515SFrançois Revol# cpu-specific stuff
1109452515SFrançois RevolKernelMergeObject arch_ppc_classic.o :
1209452515SFrançois Revol
13*f5f6d7e6SFrançois Revol	arch_exceptions.S
14*f5f6d7e6SFrançois Revol
1509452515SFrançois Revol	# paging/classic
1609452515SFrançois Revol	PPCPagingMethodClassic.cpp
1709452515SFrançois Revol	PPCPagingStructuresClassic.cpp
1809452515SFrançois Revol	PPCVMTranslationMapClassic.cpp
1909452515SFrançois Revol
2009452515SFrançois Revol	# XXX: compile with correct -mcpu ?
2109452515SFrançois Revol	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
2209452515SFrançois Revol;
2309452515SFrançois Revol
2409452515SFrançois RevolKernelMergeObject arch_ppc_460.o :
2509452515SFrançois Revol
26*f5f6d7e6SFrançois Revol	arch_exceptions_440.S
27*f5f6d7e6SFrançois Revol
2809452515SFrançois Revol	# paging/460
2909452515SFrançois Revol	#PPCPagingMethod460.cpp
3009452515SFrançois Revol	#PPCPagingStructures460.cpp
3109452515SFrançois Revol	#PPCVMTranslationMap460.cpp
3209452515SFrançois Revol
3309452515SFrançois Revol
3409452515SFrançois Revol	: $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused -mcpu=440fp
3509452515SFrançois Revol;
3609452515SFrançois Revol
372c8b410aSAxel DörflerKernelMergeObject kernel_arch_ppc.o :
38826e403dSFrançois Revol	arch_commpage.cpp
398baf8813SIngo Weinhold	arch_cpu.cpp
402d690920SAxel Dörfler	arch_cpu_asm.S
417afa713aSIngo Weinhold	arch_debug_console.cpp
4248fe700dSIngo Weinhold	arch_debug.cpp
4371848dd6SIngo Weinhold	arch_elf.cpp
44a06cbf3fSIngo Weinhold	arch_int.cpp
452d690920SAxel Dörfler	arch_mmu.cpp
467afa713aSIngo Weinhold	arch_platform.cpp
4727ceaeacSIngo Weinhold	arch_real_time_clock.cpp
483e236885SAxel Dörfler	arch_smp.cpp
493e236885SAxel Dörfler	arch_system_info.cpp
503e236885SAxel Dörfler	arch_thread.cpp
513e236885SAxel Dörfler	arch_timer.cpp
522d690920SAxel Dörfler	arch_user_debugger.cpp
532d690920SAxel Dörfler	arch_vm.cpp
542d690920SAxel Dörfler	arch_vm_translation_map.cpp
552d690920SAxel Dörfler	arch_asm.S
562e27c020SFrançois Revol	debug_uart_8250.cpp
572e27c020SFrançois Revol	arch_uart_8250.cpp
5867ea83c5SIngo Weinhold
5962caef87SFrançois Revol	# paging
6067ea83c5SIngo Weinhold	generic_vm_physical_page_mapper.cpp
6147c40a10SIngo Weinhold	generic_vm_physical_page_ops.cpp
62bcc2c157SIngo Weinhold	GenericVMPhysicalPageMapper.cpp
6362caef87SFrançois Revol	PPCPagingMethod.cpp
6462caef87SFrançois Revol	PPCPagingStructures.cpp
6562caef87SFrançois Revol	PPCVMTranslationMap.cpp
6662caef87SFrançois Revol
6762caef87SFrançois Revol
682d690920SAxel Dörfler	:
69957a1b17SIngo Weinhold	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
7009452515SFrançois Revol	:
7109452515SFrançois Revol	arch_ppc_classic.o
72*f5f6d7e6SFrançois Revol	arch_ppc_460.o
732d690920SAxel Dörfler;
74193a433aSIngo Weinhold
75193a433aSIngo WeinholdCreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp ;
76