xref: /haiku/src/system/kernel/arch/arm/Jamfile (revision ed24eb5ff12640d052171c6a7feba37fab8a75d1)
1SubDir HAIKU_TOP src system kernel arch arm ;
2
3SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include ;
4SubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
5UsePrivateKernelHeaders ;
6
7SEARCH_SOURCE += [ FDirName $(SUBDIR) paging ] ;
8SEARCH_SOURCE += [ FDirName $(SUBDIR) paging 32bit ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
10
11KernelMergeObject kernel_arch_arm.o :
12	acpi_irq_routing_table.cpp
13	arch_commpage.cpp
14	arch_cpu.cpp
15	arch_debug_console.cpp
16	arch_debug.cpp
17	arch_elf.cpp
18	arch_exceptions.S
19	arch_int.cpp
20	arch_platform.cpp
21	arch_real_time_clock.cpp
22	arch_smp.cpp
23	arch_system_info.cpp
24	arch_thread.cpp
25	arch_timer.cpp
26	arch_user_debugger.cpp
27	arch_vm.cpp
28	arch_vm_translation_map.cpp
29	arch_asm.S
30
31	# Serial UART and drivers
32	debug_uart.cpp
33	debug_uart_8250.cpp
34	arch_uart_8250_omap.cpp
35	arch_uart_pl011.cpp
36
37	arch_atomic64.cpp
38	arch_atomic32.cpp
39
40	arch_int_gicv2.cpp
41	arch_timer_generic.cpp
42
43	# SoC minimal kernel-required support
44	# (timers, interrupts, rtc?)
45	soc.cpp
46	soc_pxa.cpp
47	soc_omap3.cpp
48	soc_sun4i.cpp
49
50	# paging
51	arm_physical_page_mapper_large_memory.cpp
52	ARMPagingMethod.cpp
53	ARMPagingStructures.cpp
54	ARMVMTranslationMap.cpp
55
56	# paging/32bit
57	ARMPagingMethod32Bit.cpp
58	ARMPagingStructures32Bit.cpp
59	ARMVMTranslationMap32Bit.cpp
60
61	:
62	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
63	:
64	kernel_fdt.a
65;
66
67CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp : $(TARGET_KERNEL_ARCH) ;
68
69# syscall headers are generated on the fly, so we need a explicit dependency.
70Includes [ FGristFiles arch_commpage.cpp arch_int.cpp arch_asm.S ]
71	: <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h ;
72