SubDir HAIKU_TOP src system runtime_loader arch riscv64 ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup riscv64 ] { on $(architectureObject) { local architecture = $(TARGET_PACKAGING_ARCH) ; UsePrivateHeaders runtime_loader ; UsePrivateSystemHeaders ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ; DEFINES += _LOADER_MODE ; StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a : arch_relocate.cpp : thread.o #arch_string.o memcpy.o memset.o ; } }