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
This commit is contained in:
Maurice Kalinowski 2008-07-23 22:17:54 +00:00
parent ea70c8b6f3
commit 39fd631a39

View File

@ -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 <build>makebootable : RAWT:666:BootCode : stage1.bin ;
}
@ -30,6 +30,6 @@ BuildPlatformMain <build>makebootable :
;
# on Darwin write the boot loader code into an attribute
if $(HOST_PLATFORM) = darwin {
if $(HOST_PLATFORM) = darwin || $(HOST_PLATFORM) = cygwin {
AddFileDataAttribute <build>makebootable : BootCode : raw : stage1.bin ;
}