1SubDir HAIKU_TOP src add-ons kernel partitioning_systems common ; 2 3UsePrivateHeaders kernel 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 Includes [ FGristFiles PartitionMapWriter.cpp ] : [ FGristFiles MBR.h ] ; 15} 16 17KernelStaticLibrary libpartitioning_systemscommon.a : 18 PartitionMap.cpp 19 PartitionMapWriter.cpp 20; 21 22