1 SubDir HAIKU_TOP src system boot loader ;
3 SetupFeatureObjectsDir $(TARGET_BOOT_PLATFORM) ;
5 SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems amiga ;
6 SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems apple ;
7 SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems gpt ;
8 SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems intel ;
9 UsePrivateKernelHeaders ;
10 UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
11 UsePrivateHeaders [ FDirName kernel util ] ;
12 UsePrivateHeaders shared storage ;
17 BOOT_ARCH=\\\"$(TARGET_KERNEL_ARCH)\\\"
18 KMESSAGE_CONTAINER_ONLY
20 BOOT_SUPPORT_PARTITION_INTEL
22 BOOT_SUPPORT_FILE_SYSTEM_BFS
23 BOOT_SUPPORT_FILE_SYSTEM_TARFS
24 #BOOT_SUPPORT_FILE_MAP_DISK
25 BOOT_SUPPORT_FILE_SYSTEM_FAT
28 # Add architecture specific partition/file system modules
30 switch $(TARGET_KERNEL_ARCH) {
34 BOOT_SUPPORT_PARTITION_AMIGA
35 BOOT_SUPPORT_PARTITION_APPLE
37 BOOT_SUPPORT_FILE_SYSTEM_AMIGA_FFS
43 ALTERNATE_BOOT_ARCH=\\\"x86_64\\\"
46 BOOT_SUPPORT_PARTITION_EFI
48 #BOOT_SUPPORT_FILE_SYSTEM_FAT
50 if $(HAIKU_BOOT_PLATFORM) = efi {
58 if $(HAIKU_BOOT_PLATFORM) != efi {
59 DEFINES += BOOT_SUPPORT_ELF32 ;
62 local kernelC++Header = [ FDirName $(HAIKU_TOP) headers private kernel util
65 SubDirC++Flags -fno-rtti -include $(kernelC++Header) ;
69 BootStaticLibrary boot_loader :
74 load_driver_settings.cpp
101 # The partition support is built in an extra static library
102 # so that only the ones that are used will be included.
104 BootStaticLibrary boot_partitions :
116 PartitionMapParser.cpp
119 # Tell Jam where to find the utility sources
120 SEARCH on [ FGristFiles kernel_cpp.cpp list.cpp ring_buffer.cpp StringHash.cpp ]
121 = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
123 SEARCH on [ FGristFiles KMessage.cpp ]
124 = [ FDirName $(HAIKU_TOP) src system kernel messaging ] ;
126 SEARCH on [ FGristFiles safemode_settings.cpp ]
127 = [ FDirName $(HAIKU_TOP) src system kernel debug ] ;
129 SEARCH on [ FGristFiles driver_settings.cpp ]
130 = [ FDirName $(HAIKU_TOP) src system libroot os ] ;
132 SEARCH on [ FGristFiles amiga_rdb.cpp ]
133 = [ FDirName $(HAIKU_TOP) src add-ons kernel partitioning_systems amiga ] ;
135 SEARCH on [ FGristFiles apple.cpp ]
136 = [ FDirName $(HAIKU_TOP) src add-ons kernel partitioning_systems apple ] ;
138 SEARCH on [ FGristFiles efi_gpt.cpp Header.cpp crc32.cpp utility.cpp ]
139 = [ FDirName $(HAIKU_TOP) src add-ons kernel partitioning_systems gpt ] ;
141 SEARCH on [ FGristFiles intel.cpp PartitionMap.cpp PartitionMapParser.cpp ]
142 = [ FDirName $(HAIKU_TOP) src add-ons kernel partitioning_systems intel ] ;
144 SEARCH on [ FGristFiles stage2_crt0.S ]
145 = [ FDirName $(HAIKU_TOP) src system boot arch $(TARGET_KERNEL_ARCH) ] ;
147 SEARCH on [ FGristFiles DataIO.cpp Referenceable.cpp ]
148 = [ FDirName $(HAIKU_TOP) src kits support ] ;
151 SubInclude HAIKU_TOP src system boot loader file_systems ;
152 SubInclude HAIKU_TOP src system boot loader net ;