xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision afd6dfc8b400a598ff4b610951548c5a7d2007cb)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src system kernel arch x86 ;
22d690920SAxel Dörfler
3338b8dc3SIngo WeinholdSubDirHdrs [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) system kernel ] ;
40a51327fSAxel Dörfler	# for syscall_numbers.h
5338b8dc3SIngo WeinholdSubDirHdrs $(HAIKU_TOP) src add-ons kernel drivers input ps2_hid ;
6a71974c1SIngo WeinholdSubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
7a71974c1SIngo Weinhold
8a71974c1SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
92d690920SAxel Dörfler
102d690920SAxel DörflerKernelStaticLibrary libx86 :
112d690920SAxel Dörfler	arch_cpu.c
122d690920SAxel Dörfler	arch_debug.c
132b8d8585SAxel Dörfler	arch_debug_console.c
142d690920SAxel Dörfler	arch_elf.c
152d690920SAxel Dörfler	arch_int.c
167afa713aSIngo Weinhold	arch_platform.c
172d690920SAxel Dörfler#	arch_selector.c
182d690920SAxel Dörfler	arch_real_time_clock.c
192d690920SAxel Dörfler	arch_smp.c
202d690920SAxel Dörfler	arch_thread.c
212d690920SAxel Dörfler	arch_timer.c
222d690920SAxel Dörfler	arch_vm.c
232d690920SAxel Dörfler	arch_vm_translation_map.c
242d690920SAxel Dörfler	arch_x86.S
252d690920SAxel Dörfler	arch_interrupts.S
262d690920SAxel Dörfler	arch_system_info.c
272d690920SAxel Dörfler	arch_user_debugger.cpp
28*afd6dfc8SAxel Dörfler	apm.cpp
292d690920SAxel Dörfler	bios.cpp
302d690920SAxel Dörfler	cpuid.S
31a71974c1SIngo Weinhold
32a71974c1SIngo Weinhold	generic_vm_physical_page_mapper.cpp
332d690920SAxel Dörfler	:
34957a1b17SIngo Weinhold	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
352d690920SAxel Dörfler;
362d690920SAxel Dörfler
372d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
382d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
392d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
40