1SubDir HAIKU_TOP src system libroot os arch arm ;
2
3SubDirC++Flags -std=gnu++11 ;
4
5local architectureObject ;
6for architectureObject in [ MultiArchSubDirSetup arm ] {
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			system_time.c
18			stack_frame.c
19			stdatomic.c
20			thread.c
21			time.c
22			tls.c
23
24			generic_atomic.cpp
25			generic_stack_trace.cpp
26			generic_system_time_nsecs.cpp
27			;
28	}
29}
30