SubDir HAIKU_TOP src add-ons kernel partitioning_systems gpt ; UsePrivateHeaders interface kernel storage ; UsePrivateSystemHeaders ; UseHeaders [ FDirName $(HAIKU_TOP) src libs uuid ] ; SubDirHdrs [ FDirName $(SUBDIR) $(DOTDOT) intel ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) intel ] ; # Assemble the MBR code, and convert it into a header file MBRFLAGS on [ FGristFiles mbr.bin ] = -DMBR_CODE_ONLY ; BuildMBR [ FGristFiles mbr.bin ] : mbr.S ; DataFileToSourceFile [ FGristFiles MBR.h ] : [ FGristFiles mbr.bin ] : kMBR : kMBRSize ; if $(TARGET_ARCH) = "x86" || $(TARGET_ARCH) = "x86_64" { Depends [ FGristFiles PartitionMapWriter.cpp ] : [ FGristFiles MBR.h ] ; } KernelAddon efi_gpt : gpt.cpp Header.cpp crc32.cpp utility.cpp PartitionLocker.cpp # from the Intel add-on PartitionMap.cpp PartitionMapWriter.cpp : libuuid_kernel.a ;