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 stack_frame.c 17 system_time.c 18 19 tls.c 20 time.c 21 thread.c 22 23 generic_atomic.cpp 24 generic_system_time_nsecs.cpp 25 ; 26 } 27} 28