xref: /haiku/src/add-ons/kernel/partitioning_systems/intel/Jamfile (revision e81a954787e50e56a7f06f72705b7859b6ab06d1)
1SubDir HAIKU_TOP src add-ons kernel partitioning_systems intel ;
2
3UsePrivateHeaders kernel shared storage ;
4UsePrivateSystemHeaders ;
5
6# Assemble the MBR code, and convert it into a header file
7MBRFLAGS on [ FGristFiles mbr.bin ] = -DMBR_CODE_ONLY ;
8BuildMBR [ FGristFiles mbr.bin ] : mbr.S ;
9
10DataFileToSourceFile [ FGristFiles MBR.h ] : [ FGristFiles mbr.bin ]
11	: kMBR : kMBRSize ;
12
13if $(TARGET_ARCH) = "x86" || $(TARGET_ARCH) = "x86_64" {
14	Depends [ FGristFiles PartitionMapWriter.cpp ] : [ FGristFiles MBR.h ] ;
15}
16
17KernelAddon intel :
18	intel.cpp
19	PartitionLocker.cpp
20	PartitionMap.cpp
21	PartitionMapParser.cpp
22	PartitionMapWriter.cpp
23	write_support.cpp
24;
25