Enable build of usb_midi on R5 using same Jamfile techniques as usb_hid
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20665 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2,17 +2,22 @@ SubDir HAIKU_TOP src add-ons kernel drivers midi usb_midi ;
|
|||||||
|
|
||||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||||
|
|
||||||
|
local buffer_impl = ;
|
||||||
if $(TARGET_PLATFORM) != haiku {
|
if $(TARGET_PLATFORM) != haiku {
|
||||||
UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
|
UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
|
||||||
# We need the public usb headers also when not compiling for Haiku.
|
# We need the public usb headers also when not compiling for Haiku.
|
||||||
|
buffer_impl = ring_buffer.cpp ;
|
||||||
}
|
}
|
||||||
UsePrivateHeaders [ FDirName kernel util ] ;
|
UsePrivateHeaders [ FDirName kernel util ] ;
|
||||||
|
|
||||||
KernelAddon usb_midi :
|
KernelAddon usb_midi :
|
||||||
usb_midi.c
|
usb_midi.c
|
||||||
devlist.c
|
devlist.c
|
||||||
|
$(buffer_impl)
|
||||||
;
|
;
|
||||||
|
|
||||||
|
SEARCH on [ FGristFiles ring_buffer.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
|
||||||
|
|
||||||
ObjectHdrs [ FGristFiles usb_midi$(SUFOBJ) ]
|
ObjectHdrs [ FGristFiles usb_midi$(SUFOBJ) ]
|
||||||
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
|
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user