Oops - Bootloader optimizations to GetDescriptor() don't work, as the Configuration...
[pub/USBasp.git] / Demos / Host / LowLevel / RNDISEthernetHost / makefile
index 976a162..5f0e12b 100644 (file)
 MCU = at90usb1287
 
 
+# Target architecture (see library "Board Types" documentation).
+ARCH = AVR8
+
+
 # Target board (see library "Board Types" documentation, NONE for projects not requiring
 # LUFA board drivers). If USER is selected, put custom board drivers in a directory called
 # "Board" inside the application directory.
@@ -129,8 +133,7 @@ SRC = $(TARGET).c                                                 \
          ConfigDescriptor.c                                          \
          Lib/RNDISCommands.c                                         \
          $(LUFA_SRC_USB)                                             \
-         $(LUFA_SRC_SERIAL)                                          \
-         $(LUFA_SRC_SERIALSTREAM)
+         $(LUFA_SRC_SERIAL)
 
 
 # List C++ source files here. (C dependencies are automatically generated.)
@@ -178,7 +181,7 @@ CSTANDARD = -std=c99
 # Place -D or -U options here for C sources
 CDEFS  = -DF_CPU=$(F_CPU)UL
 CDEFS += -DF_CLOCK=$(F_CLOCK)UL
-CDEFS += -DBOARD=BOARD_$(BOARD)
+CDEFS += -DBOARD=BOARD_$(BOARD) -DARCH=ARCH_$(ARCH)
 CDEFS += $(LUFA_OPTS)