diff --git a/fw/atspi/Makefile b/fw/atspi/Makefile index 52b3db7..852495b 100644 --- a/fw/atspi/Makefile +++ b/fw/atspi/Makefile @@ -23,8 +23,8 @@ CFLAGS += -I../common -I../include LDFLAGS += --code-size $(PAYLOAD_SIZE) --code-loc $(PAYLOAD_START) USB_ID = $(shell \ - `( echo '#include "config.h"'; echo USB_VENDOR:USB_PRODUCT; ) | \ - cpp | sed '/^ *$/d;/^#/d') + ( echo '\#include "config.h"'; echo USB_VENDOR:USB_PRODUCT; ) | \ + cpp -I../common | sed '/^ *$$/d;/^\#/d' ) .PHONY: dfu