1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2025-04-21 12:27:27 +03:00

tools/lib/: copied USB device opening code over from f32xbase

We shared it across projects so far, but since the code will be further
customized, it's better to keep it local (at least for a while).

- usbopen.h, usbopen.c: moved over f32xbase/include/usb.h and
  f32xbase/lib/usb.c (for further customization)
- Makefile (CFLAGS, OBJS_host): use usbopen.o instead of usb.o from
  f32xbase
- atusb.c: use usbopen.h instead of usb.h from f32xbase (also removes
  include path ambiguity)
This commit is contained in:
Werner Almesberger
2011-04-10 07:43:42 -03:00
parent 1a27e590d9
commit a75edf0cc0
4 changed files with 127 additions and 4 deletions

View File

@@ -15,9 +15,7 @@ LIB = libatrf.a
include ../Makefile.common
CFLAGS += -Wall -I$(F32XBASE)/include
OBJS_host = atusb.o $(F32XBASE)/lib/usb.o
OBJS_host = atusb.o usbopen.o
OBJS_ben_jlime = atben.o
OBJS_ben_openwrt = atben.o