diff --git a/src/tools/makebootable/platform/pxe_ia32/Jamfile b/src/tools/makebootable/platform/pxe_ia32/Jamfile new file mode 100644 index 0000000000..504651fb3f --- /dev/null +++ b/src/tools/makebootable/platform/pxe_ia32/Jamfile @@ -0,0 +1,27 @@ +SubDir HAIKU_TOP src tools makebootable platform bios_ia32 ; + +UsePrivateHeaders storage ; + +SEARCH_SOURCE + += [ FDirName $(HAIKU_TOP) src bin makebootable platform bios_ia32 ] ; + +USES_BE_API on makebootable = true ; + +local hostPlatformSources ; +if $(HOST_PLATFORM) = linux { + hostPlatformSources = PartitionMap.cpp PartitionMapParser.cpp ; + + SEARCH_SOURCE += [ FDirName $(HAIKU_TOP) src add-ons kernel + partitioning_systems intel ] ; + + DEFINES += _USER_MODE ; +} + +# write the stage 1 boot loader into the makebootable resources +AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ; + +BuildPlatformMain makebootable : + makebootable.cpp + $(hostPlatformSources) + : $(HOST_LIBBE) +;