mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-12-23 08:27:42 +02:00
atusb/fw/atusb/Makefile: pass board version to cpp (when determining USB ID)
This commit is contained in:
parent
f33b86b317
commit
6a7b2de8b3
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user