1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-17 23:28:27 +02:00

atusb/fw3: renamed usb2/ to usb/ in move away from FreakUSB

- usb2/: renamed to usb/
- Makefile (FreakUSB): removed $(FreakUSB) and commented-out items for
  FreakUSB
- Makefile: changed vpath from usb2/ to usb/
- Makefile (CFLAGS): changed include from -Iusb2 to -Iusb
- Makefile (CFLAGS): don't define NUM_EPS (it's already in usb/usb.c)
This commit is contained in:
Werner Almesberger 2011-02-14 10:14:06 -03:00
parent fa99266fc9
commit 57b908d261
3 changed files with 2 additions and 9 deletions

View File

@ -24,19 +24,12 @@ CC = $(AVR_PREFIX)gcc
OBJCOPY = $(AVR_PREFIX)objcopy OBJCOPY = $(AVR_PREFIX)objcopy
#OBJDUMP = $(AVR_PREFIX)objdump #OBJDUMP = $(AVR_PREFIX)objdump
FreakUSB = usb
#USB_OBJS = usb.o ctrl.o usb_buf.o ep.o hw.o isr.o
USB_OBJS = usb.o USB_OBJS = usb.o
OBJS = atusb.o board.o spi.o descr.o ep0.o $(USB_OBJS) OBJS = atusb.o board.o spi.o descr.o ep0.o $(USB_OBJS)
#vpath %.c $(FreakUSB)/usb/ vpath %.c usb/
#vpath %.c $(FreakUSB)/hw/at90usbxx2/
vpath %.c usb2/
CFLAGS += -I../fw/include \ CFLAGS += -I../fw/include -Iusb
-Iusb2
-DNUM_EPS=1
# -I$(FreakUSB)/usb -I$(FreakUSB)/hw/at90usbxx2 \
# ----- Verbosity control ----------------------------------------------------- # ----- Verbosity control -----------------------------------------------------