xref: /haiku/src/system/boot/platform/atari_m68k/Jamfile (revision cbe0a0c436162d78cc3f92a305b64918c839d079)
1SubDir HAIKU_TOP src system boot platform atari_m68k ;
2
3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform atari_m68k ;
4
5UsePrivateHeaders [ FDirName kernel boot platform $(TARGET_BOOT_PLATFORM) ] ;
6UsePrivateHeaders [ FDirName kernel platform $(TARGET_BOOT_PLATFORM) ] ;
7UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
8UsePrivateHeaders [ FDirName graphics common ] ;
9#UsePrivateHeaders [ FDirName graphics vesa ] ;
10UsePrivateHeaders [ FDirName storage ] ;
11
12{
13	local defines = _BOOT_MODE ;
14
15	defines = [ FDefines $(defines) ] ;
16	SubDirCcFlags $(defines) ;
17	SubDirC++Flags $(defines) -fno-rtti ;
18}
19
20local platform ;
21for platform in [ MultiBootSubDirSetup atari_m68k ] {
22	on $(platform) {
23		#SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
24
25		BootMergeObject boot_platform_atari_m68k_shell.o :
26			shell.S
27			: -Wa,--pcrel
28		;
29
30
31		# cpu-specific stuff
32		# should be moved to boot/arch/m68k/...
33		# TODO: add 020+68851 support
34
35
36		BootMergeObject boot_platform_atari_m68k_other.o :
37		#	shell.S
38			start.cpp
39			toscalls.cpp
40			debug.cpp
41			#bios.S
42			console.cpp
43			#serial.cpp
44			Handle.cpp
45			devices.cpp
46			keyboard.cpp
47			menu.cpp
48			mmu.cpp
49			cpu.cpp
50			#smp.cpp
51			#smp_trampoline.S
52		#	support.S
53			video.cpp
54			#apm.cpp
55
56			# VESA/DDC EDID
57			#decode_edid.c
58			#dump_edid.c
59
60			: #-Wa,--pcrel
61			: boot_platform_generic_atari_m68k.a
62		;
63
64
65		BootMergeObject boot_platform_atari_m68k.o :
66			: :
67			boot_platform_atari_m68k_shell.o
68			boot_platform_atari_m68k_other.o
69			boot_arch_m68k_030.o
70			boot_arch_m68k_040.o
71		;
72	}
73}
74
75SEARCH on [ FGristFiles $(genericPlatformSources) ]
76	= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
77
78# Tell the build system to where stage1.bin can be found, so it can be used
79# elsewhere.
80SEARCH on stage1.bin = $(SUBDIR) ;
81
82# cf pxe_ia32 Jamfile for stage1
83