vfs: check userland buffers before reading them.
[haiku.git] / src / system / kernel / lib / arch / x86 / Jamfile
blob73678ad8066920277a9c602dd51c6fa3ee6fb438
1 SubDir HAIKU_TOP src system kernel lib arch x86 ;
3 # find the generated asm_offsets.h
4 SubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH))
5         system kernel arch $(TARGET_ARCH) ] ;
7 SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
9 local librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ;
10 local posixSources = [ FDirName $(librootSources) posix ] ;
12 SEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ;
14 KernelMergeObject kernel_os_arch_$(TARGET_ARCH).o :
15         atomic.S
16         byteorder.S
17         system_time_asm.S
18         system_time.c
20         : $(TARGET_KERNEL_PIC_CCFLAGS)
23 SEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ;
24 SEARCH_SOURCE += [ FDirName $(posixSources) string arch generic ] ;
26 KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o :
27         siglongjmp.S
28         sigsetjmp.S
29         kernel_longjmp_return.c
30         kernel_setjmp_save_sigs.c
32         arch_string.S
34         : $(TARGET_KERNEL_PIC_CCFLAGS)
37 # Explicitly tell the build system that arch_string.S includes the generated
38 # asm_offsets.h.
39 Includes [ FGristFiles arch_string.S ]
40         : <src!system!kernel!arch!x86>asm_offsets.h ;