SubDir HAIKU_TOP src system libroot os arch riscv64 ; SubDirC++Flags -std=gnu++11 ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup riscv64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateKernelHeaders ; UsePrivateSystemHeaders ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ; MergeObject <$(architecture)>os_arch_$(TARGET_ARCH).o : stack_frame.c system_time.c tls.c time.c thread.c generic_atomic.cpp generic_system_time_nsecs.cpp ; } }