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:
parent
f13b5de61e
commit
ffd3d30c84
@ -2,17 +2,22 @@ SubDir HAIKU_TOP src add-ons kernel drivers midi usb_midi ;
|
||||
|
||||
SetSubDirSupportedPlatformsBeOSCompatible ;
|
||||
|
||||
local buffer_impl = ;
|
||||
if $(TARGET_PLATFORM) != haiku {
|
||||
UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
|
||||
# We need the public usb headers also when not compiling for Haiku.
|
||||
buffer_impl = ring_buffer.cpp ;
|
||||
}
|
||||
UsePrivateHeaders [ FDirName kernel util ] ;
|
||||
|
||||
KernelAddon usb_midi :
|
||||
usb_midi.c
|
||||
devlist.c
|
||||
$(buffer_impl)
|
||||
;
|
||||
|
||||
SEARCH on [ FGristFiles ring_buffer.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
|
||||
|
||||
ObjectHdrs [ FGristFiles usb_midi$(SUFOBJ) ]
|
||||
: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user