xref: /haiku/src/system/kernel/arch/x86/Jamfile (revision 1cbf8f4b3c6c44446420f14d7b75ef8a1fbc2798)
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
5036b999bSAxel DörflerSubDirHdrs $(HAIKU_TOP) src add-ons kernel bus_managers ps2 ;
6a71974c1SIngo WeinholdSubDirHdrs $(SUBDIR) $(DOTDOT) generic ;
7a71974c1SIngo Weinhold
844d56753SJérôme DuvalUsePrivateHeaders kernel [ FDirName kernel arch $(TARGET_ARCH) ]
944d56753SJérôme Duval	[ FDirName kernel boot platform $(HAIKU_BOOT_PLATFORM) ] ;
1044d56753SJérôme Duval
11a71974c1SIngo WeinholdSEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
122d690920SAxel Dörfler
132d690920SAxel DörflerKernelStaticLibrary libx86 :
142d690920SAxel Dörfler	arch_cpu.c
152d690920SAxel Dörfler	arch_debug.c
162b8d8585SAxel Dörfler	arch_debug_console.c
172d690920SAxel Dörfler	arch_elf.c
182d690920SAxel Dörfler	arch_int.c
197afa713aSIngo Weinhold	arch_platform.c
202d690920SAxel Dörfler#	arch_selector.c
212d690920SAxel Dörfler	arch_real_time_clock.c
222d690920SAxel Dörfler	arch_smp.c
232d690920SAxel Dörfler	arch_thread.c
242d690920SAxel Dörfler	arch_timer.c
252d690920SAxel Dörfler	arch_vm.c
262d690920SAxel Dörfler	arch_vm_translation_map.c
272d690920SAxel Dörfler	arch_x86.S
282d690920SAxel Dörfler	arch_interrupts.S
292d690920SAxel Dörfler	arch_system_info.c
302d690920SAxel Dörfler	arch_user_debugger.cpp
31afd6dfc8SAxel Dörfler	apm.cpp
322d690920SAxel Dörfler	bios.cpp
332d690920SAxel Dörfler	cpuid.S
34*1cbf8f4bSTravis Geiselbrecht	commpage.c
35*1cbf8f4bSTravis Geiselbrecht	syscall.S
36a71974c1SIngo Weinhold
37a71974c1SIngo Weinhold	generic_vm_physical_page_mapper.cpp
382d690920SAxel Dörfler	:
39957a1b17SIngo Weinhold	$(TARGET_KERNEL_PIC_CCFLAGS) -Wno-unused
402d690920SAxel Dörfler;
412d690920SAxel Dörfler
422d690920SAxel Dörfler# We need to specify the dependency on the generated syscalls file explicitly.
432d690920SAxel DörflerIncludes [ FGristFiles arch_x86.S arch_interrupts.S ]
442d690920SAxel Dörfler	: <syscalls>syscall_numbers.h ;
45