Revision 18539 broke the build on R5. This is because on R5 it includes Be's headers, which of course don't include a USB2.h or USB3.h.

This change fixes that on non-haiku targets. Please note that the change is only needed on R5 and bone probably, but it won't do any harm on other build platforms either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18551 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Niels Sascha Reedijk
2006-08-21 16:19:47 +00:00
parent c7295a063f
commit 438fdb88ea
2 changed files with 6 additions and 0 deletions
@@ -6,6 +6,9 @@ SubDirC++Flags -fno-rtti ;
SubDirSysHdrs $(SUBDIR) ;
UsePrivateHeaders [ FDirName kernel ] ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders [ FDirName drivers ] ;
}
KernelStaticLibrary libusb.a :
Stack.cpp
+3
View File
@@ -6,6 +6,9 @@ SubDirC++Flags -fno-rtti ;
UsePrivateHeaders [ FDirName kernel ] ;
UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers usb ] ;
if $(TARGET_PLATFORM) != haiku {
UsePublicHeaders [ FDirName drivers ] ;
}
KernelAddon <usb>uhci : [ FDirName kernel busses usb ] :
uhci.cpp