Make it buildable on BeOS again... The last time now, the next time BeOS support will simply be removed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30064 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,10 +4,15 @@ SetSubDirSupportedPlatformsBeOSCompatible ;
|
|||||||
|
|
||||||
SubDirC++Flags -fno-rtti ;
|
SubDirC++Flags -fno-rtti ;
|
||||||
|
|
||||||
|
local compatSources ;
|
||||||
|
|
||||||
SubDirSysHdrs $(SUBDIR) ;
|
SubDirSysHdrs $(SUBDIR) ;
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
if $(TARGET_PLATFORM) != haiku {
|
||||||
UsePrivateHeaders kernel ;
|
UsePrivateHeaders kernel ;
|
||||||
UsePublicHeaders drivers ;
|
UsePublicHeaders drivers ;
|
||||||
|
if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
|
||||||
|
compatSources = kernel_cpp.cpp ;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
UsePrivateKernelHeaders ;
|
UsePrivateKernelHeaders ;
|
||||||
}
|
}
|
||||||
@@ -22,6 +27,7 @@ KernelStaticLibrary libusb.a :
|
|||||||
Interface.cpp
|
Interface.cpp
|
||||||
Object.cpp
|
Object.cpp
|
||||||
PhysicalMemoryAllocator.cpp
|
PhysicalMemoryAllocator.cpp
|
||||||
|
$(compatSources)
|
||||||
: -fno-pic
|
: -fno-pic
|
||||||
;
|
;
|
||||||
|
|
||||||
@@ -31,3 +37,5 @@ KernelAddon usb :
|
|||||||
: usb.rdef
|
: usb.rdef
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles $(compatSources) ]
|
||||||
|
= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
|
||||||
|
|||||||
Reference in New Issue
Block a user