xref: /haiku/src/system/libroot/os/arch/riscv64/Jamfile (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
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			byteorder.S
17
18			stack_frame.S
19			system_time.cpp
20
21			tls.cpp
22			time.cpp
23			thread.cpp
24
25			cachectl.cpp
26
27			generic_atomic.cpp
28			generic_stack_trace.cpp
29			generic_system_time_nsecs.cpp
30			;
31	}
32}
33