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

atusb/fw/atusb/Makefile: pass board version to cpp (when determining USB ID)

This commit is contained in:
Werner Almesberger 2010-12-29 20:42:06 -03:00
parent f33b86b317
commit 6a7b2de8b3

View File

@ -25,7 +25,7 @@ LDFLAGS += --code-size $(PAYLOAD_SIZE) --code-loc $(PAYLOAD_START)
USB_ID = $(shell \
( echo '\#include "config.h"'; echo USB_VENDOR:USB_PRODUCT; ) | \
cpp -I../common -I../include | sed '/^ *$$/d;/^\#/d' )
cpp -I../common -I../include -D$(BOARD) | sed '/^ *$$/d;/^\#/d' )
.PHONY: dfu