xref: /haiku/src/system/runtime_loader/arch/riscv64/Jamfile (revision 7dcd941df2c961028b3b5eb8c6ed31f584a7f8e4)
1*7dcd941dSAlexander von Gluck IVSubDir HAIKU_TOP src system runtime_loader arch riscv64 ;
2*7dcd941dSAlexander von Gluck IV
3*7dcd941dSAlexander von Gluck IVlocal architectureObject ;
4*7dcd941dSAlexander von Gluck IVfor architectureObject in [ MultiArchSubDirSetup riscv64 ] {
5*7dcd941dSAlexander von Gluck IV	on $(architectureObject) {
6*7dcd941dSAlexander von Gluck IV		local architecture = $(TARGET_PACKAGING_ARCH) ;
7*7dcd941dSAlexander von Gluck IV
8*7dcd941dSAlexander von Gluck IV		UsePrivateHeaders runtime_loader ;
9*7dcd941dSAlexander von Gluck IV		UsePrivateSystemHeaders ;
10*7dcd941dSAlexander von Gluck IV
11*7dcd941dSAlexander von Gluck IV		SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
12*7dcd941dSAlexander von Gluck IV
13*7dcd941dSAlexander von Gluck IV		StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a :
14*7dcd941dSAlexander von Gluck IV			arch_relocate.cpp
15*7dcd941dSAlexander von Gluck IV			:
16*7dcd941dSAlexander von Gluck IV			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>thread.o
17*7dcd941dSAlexander von Gluck IV
18*7dcd941dSAlexander von Gluck IV			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>arch_string.o
19*7dcd941dSAlexander von Gluck IV			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memset.o
20*7dcd941dSAlexander von Gluck IV			;
21*7dcd941dSAlexander von Gluck IV	}
22*7dcd941dSAlexander von Gluck IV}
23