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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user