xref: /haiku/src/system/runtime_loader/arch/riscv64/Jamfile (revision 6a44d4c52765e4fd5ccf6a4a7c69486c9531431d)
17dcd941dSAlexander von Gluck IVSubDir HAIKU_TOP src system runtime_loader arch riscv64 ;
27dcd941dSAlexander von Gluck IV
37dcd941dSAlexander von Gluck IVlocal architectureObject ;
47dcd941dSAlexander von Gluck IVfor architectureObject in [ MultiArchSubDirSetup riscv64 ] {
57dcd941dSAlexander von Gluck IV	on $(architectureObject) {
67dcd941dSAlexander von Gluck IV		local architecture = $(TARGET_PACKAGING_ARCH) ;
77dcd941dSAlexander von Gluck IV
87dcd941dSAlexander von Gluck IV		UsePrivateHeaders runtime_loader ;
97dcd941dSAlexander von Gluck IV		UsePrivateSystemHeaders ;
107dcd941dSAlexander von Gluck IV
117dcd941dSAlexander von Gluck IV		SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) $(DOTDOT) ] ;
127dcd941dSAlexander von Gluck IV
13*6a44d4c5SJérôme Duval		DEFINES += _LOADER_MODE ;
14*6a44d4c5SJérôme Duval
157dcd941dSAlexander von Gluck IV		StaticLibrary <$(architecture)>libruntime_loader_$(TARGET_ARCH).a :
167dcd941dSAlexander von Gluck IV			arch_relocate.cpp
177dcd941dSAlexander von Gluck IV			:
187dcd941dSAlexander von Gluck IV			<src!system!libroot!os!arch!$(TARGET_ARCH)!$(architecture)>thread.o
197dcd941dSAlexander von Gluck IV
20c085f386SAlexander von Gluck IV			#<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>arch_string.o
21c085f386SAlexander von Gluck IV			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memcpy.o
227dcd941dSAlexander von Gluck IV			<src!system!libroot!posix!string!arch!$(TARGET_ARCH)!$(architecture)>memset.o
237dcd941dSAlexander von Gluck IV			;
247dcd941dSAlexander von Gluck IV	}
257dcd941dSAlexander von Gluck IV}
26