1SubDir HAIKU_TOP src system kernel arch riscv64 ; 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 ] ; 8 9KernelMergeObject kernel_arch_riscv64.o : 10 arch_asm.S 11 arch_traps.S 12 arch_commpage.cpp 13 arch_cpu.cpp 14 arch_debug.cpp 15 arch_debug_console.cpp 16 arch_elf.cpp 17 arch_int.cpp 18 acpi_irq_routing_table.cpp 19 arch_platform.cpp 20 arch_real_time_clock.cpp 21 arch_smp.cpp 22 arch_system_info.cpp 23 arch_timer.cpp 24 arch_thread.cpp 25 arch_user_debugger.cpp 26 arch_vm.cpp 27 arch_vm_translation_map.cpp 28 RISCV64VMTranslationMap.cpp 29 Htif.cpp 30 sbi_syscalls.S 31 32 generic_msi.cpp 33 34 # Serial UART drivers 35 debug_uart.cpp 36 debug_uart_8250.cpp 37 arch_uart_sifive.cpp 38 : 39 $(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused 40 : 41; 42 43CreateAsmStructOffsetsHeader asm_offsets.h : asm_offsets.cpp : $(TARGET_KERNEL_ARCH) ; 44 45# syscall_numbers.h is generated on the fly, so we need a explicit dependency. 46Includes [ FGristFiles arch_commpage.cpp arch_int.cpp arch_asm.S ] 47 : <syscalls!$(TARGET_PACKAGING_ARCH)>syscall_numbers.h ; 48