From 456b127176030a7ceba18da243099b536227b947 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Thu, 28 Sep 2006 12:05:06 +0000 Subject: [PATCH] git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18963 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../makebootable/platform/pxe_ia32/Jamfile | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/tools/makebootable/platform/pxe_ia32/Jamfile 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) +;