xref: /haiku/src/system/kernel/arch/arm64/Jamfile (revision 4a55cc230cf7566cadcbb23b1928eefff8aea9a2)
1SubDir HAIKU_TOP src system kernel arch arm64 ;
2
3SubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers acpi acpica include ;
4SubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
5UsePrivateKernelHeaders ;
6
7SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
8SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) arm ] ;
9
10KernelMergeObject kernel_arch_arm64.o :
11	arch_elf.cpp
12	arch_int.cpp
13	arch_commpage.cpp
14	arch_thread.cpp
15	arch_cpu.cpp
16	arch_debug_console.cpp
17	arch_debug.cpp
18	arch_user_debugger.cpp
19	arch_vm_translation_map.cpp
20	arch_vm.cpp
21	arch_timer.cpp
22	arch_system_info.cpp
23	arch_smp.cpp
24	arch_real_time_clock.cpp
25	arch_platform.cpp
26	arch_asm.S
27	arch_int_gicv2.cpp
28	soc.cpp
29	acpi_irq_routing_table.cpp
30
31	VMSAv8TranslationMap.cpp
32	PMAPPhysicalPageMapper.cpp
33
34    # Serial UART and drivers
35	debug_uart.cpp
36	debug_uart_8250.cpp
37#	arch_uart_8250_omap.cpp
38	arch_uart_pl011.cpp
39	arch_uart_linflex.cpp
40
41	:
42	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
43	:
44;
45
46CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp : $(TARGET_KERNEL_ARCH) ;
47
48# syscall headers are generated on the fly, so we need a explicit dependency.
49Includes [ FGristFiles arch_int.cpp arch_asm.S ]
50	: <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h ;
51