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