1SubDir HAIKU_TOP src system libroot os arch riscv64 ; 2 3SubDirC++Flags -std=gnu++11 ; 4 5local architectureObject ; 6for architectureObject in [ MultiArchSubDirSetup riscv64 ] { 7 on $(architectureObject) { 8 local architecture = $(TARGET_PACKAGING_ARCH) ; 9 10 UsePrivateKernelHeaders ; 11 UsePrivateSystemHeaders ; 12 13 SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; 14 15 MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o : 16 byteorder.S 17 18 stack_frame.c 19 system_time.c 20 21 tls.c 22 time.c 23 thread.c 24 25 generic_atomic.cpp 26 generic_stack_trace.cpp 27 generic_system_time_nsecs.cpp 28 ; 29 } 30} 31