xref: /haiku/src/system/boot/platform/amiga_m68k/Jamfile (revision 21258e2674226d6aa732321b6f8494841895af5f)
1SubDir HAIKU_TOP src system boot platform amiga_m68k ;
2
3SubDirHdrs $(HAIKU_TOP) headers private kernel boot platform amiga_m68k ;
4
5UsePrivateHeaders [ FDirName kernel boot platform amiga_m68k ] ;
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 amiga_m68k ] {
22	on $(platform) {
23		#SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons accelerants common ] ;
24
25		BootMergeObject boot_platform_amiga_m68k_shell.o :
26			shell.S
27			: -Wa,--pcrel
28		;
29
30
31		BootMergeObject boot_platform_amiga_m68k_other.o :
32		#	shell.S
33			start.cpp
34			rom_calls.cpp
35			debug.cpp
36			#bios.S
37			console.cpp
38			#serial.cpp
39			Handle.cpp
40			devices.cpp
41			keyboard.cpp
42			menu.cpp
43			mmu.cpp
44			cpu.cpp
45			#smp.cpp
46			#smp_trampoline.S
47		#	support.S
48			video.cpp
49			#apm.cpp
50
51			# VESA/DDC EDID
52			#decode_edid.c
53			#dump_edid.c
54
55			: #-Wa,--pcrel
56			: boot_platform_generic_amiga_m68k.a
57		;
58
59
60		BootMergeObject boot_platform_amiga_m68k.o :
61			: :
62			boot_platform_amiga_m68k_shell.o
63			boot_platform_amiga_m68k_other.o
64			boot_arch_m68k_030.o
65			boot_arch_m68k_040.o
66		;
67	}
68}
69
70SEARCH on [ FGristFiles $(genericPlatformSources) ]
71	= [ FDirName $(HAIKU_TOP) src system boot platform generic ] ;
72
73# Tell the build system to where stage1.bin can be found, so it can be used
74# elsewhere.
75SEARCH on stage1.bin = $(SUBDIR) ;
76
77# cf pxe_ia32 Jamfile for stage1
78