From 39fd631a397db2729171a612fd99d708f15ef654 Mon Sep 17 00:00:00 2001 From: Maurice Kalinowski Date: Wed, 23 Jul 2008 22:17:54 +0000 Subject: [PATCH] julun+mauricek: * as on darwin platform we cannot use resources for the boot sector data. Instead use attributes to store the data. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26589 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/makebootable/platform/bios_ia32/Jamfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/makebootable/platform/bios_ia32/Jamfile b/src/tools/makebootable/platform/bios_ia32/Jamfile index 46217e0942..aab67f8a67 100644 --- a/src/tools/makebootable/platform/bios_ia32/Jamfile +++ b/src/tools/makebootable/platform/bios_ia32/Jamfile @@ -19,7 +19,7 @@ if $(HOST_PLATFORM) = linux || $(HOST_PLATFORM) = freebsd { # Write the stage 1 boot loader into the makebootable resources. On Darwin # resources don't seem to work; there we use an attribute instead. -if $(HOST_PLATFORM) != darwin { +if $(HOST_PLATFORM) != darwin && $(HOST_PLATFORM) != cygwin { AddFileDataResource makebootable : RAWT:666:BootCode : stage1.bin ; } @@ -30,6 +30,6 @@ BuildPlatformMain makebootable : ; # on Darwin write the boot loader code into an attribute -if $(HOST_PLATFORM) = darwin { +if $(HOST_PLATFORM) = darwin || $(HOST_PLATFORM) = cygwin { AddFileDataAttribute makebootable : BootCode : raw : stage1.bin ; }