1SubDir HAIKU_TOP src system kernel lib arch riscv64 ; 2 3SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 4 5local librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ; 6local posixSources = [ FDirName $(librootSources) posix ] ; 7 8SEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ; 9SEARCH_SOURCE += [ FDirName $(librootSources) os arch generic ] ; 10 11KernelMergeObject kernel_os_arch_$(TARGET_ARCH).o : 12 #byteorder.S 13 14 generic_atomic.cpp 15 generic_system_time_nsecs.cpp 16 17 : $(TARGET_KERNEL_PIC_CCFLAGS) 18; 19 20SEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ; 21SEARCH_SOURCE += [ FDirName $(posixSources) string arch generic ] ; 22SEARCH_SOURCE += [ FDirName $(posixSources) string arch $(TARGET_ARCH) ] ; 23 24KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o : 25 siglongjmp.S 26 sigsetjmp.S 27 kernel_longjmp_return.c 28 kernel_setjmp_save_sigs.c 29 30 #arch_string.S 31 memcpy.c 32 memset.c 33 34 : $(TARGET_KERNEL_PIC_CCFLAGS) 35; 36