Allow building the BootLoaderTest (and zlib) for BeOS.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21581 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-07-07 01:28:04 +00:00
parent ad1d8116a6
commit 4dac6ac8de
6 changed files with 33 additions and 0 deletions

View File

@ -1,5 +1,7 @@
SubDir HAIKU_TOP src libs zlib ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UseLibraryHeaders zlib ;
local shared_files =

View File

@ -15,6 +15,7 @@
#include <boot/platform.h>
#include <string.h>
#include <unistd.h>
static status_t

View File

@ -1,5 +1,7 @@
SubDir HAIKU_TOP src tests system boot loader ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders [ FDirName kernel ] ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders [ FDirName storage ] ;
@ -12,6 +14,11 @@ SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems apple ;
SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems efi ;
SubDirHdrs $(HAIKU_TOP) src add-ons kernel partitioning_systems intel ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders drivers ; # disk_device_manager.h
UsePublicHeaders storage ; # DiskDeviceDefs.h
}
# we need to redefine certain calls in the boot loader so that
# they will really be used instead of their POSIX counterparts
# in libroot.so

View File

@ -1,11 +1,18 @@
SubDir HAIKU_TOP src tests system boot loader file_systems amiga_ffs ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders [ FDirName kernel ] ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders [ FDirName storage ] ;
SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems amiga_ffs ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders drivers ; # disk_device_manager.h
UsePublicHeaders storage ; # DiskDeviceDefs.h
}
ObjectDefines
amiga_ffs.cpp
Volume.cpp

View File

@ -1,5 +1,7 @@
SubDir HAIKU_TOP src tests system boot loader file_systems bfs ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders [ FDirName kernel ] ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders [ FDirName storage ] ;
@ -7,6 +9,11 @@ SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems bfs ;
SubDirHdrs $(HAIKU_TOP) src add-ons kernel file_systems bfs ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders drivers ; # disk_device_manager.h
UsePublicHeaders storage ; # DiskDeviceDefs.h
}
ObjectDefines
bfs.cpp
Directory.cpp

View File

@ -1,11 +1,20 @@
SubDir HAIKU_TOP src tests system boot loader file_systems tarfs ;
SetSubDirSupportedPlatformsBeOSCompatible ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders kernel shared storage ;
SubDirSysHdrs $(HAIKU_TOP) src tests system boot loader ;
SubDirSysHdrs $(HAIKU_TOP) headers libs zlib ;
SubDirHdrs $(HAIKU_TOP) src system boot loader file_systems tarfs ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders drivers ; # disk_device_manager.h
UsePublicHeaders storage ; # DiskDeviceDefs.h
ObjectDefines tarfs.cpp : B_BUFFER_OVERFLOW=B_BAD_VALUE ;
}
ObjectDefines
tarfs.cpp
: