diff options
Diffstat (limited to 'extra/usb_updater/Makefile')
-rw-r--r-- | extra/usb_updater/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/usb_updater/Makefile b/extra/usb_updater/Makefile index 8a55f750f6..b4c208f4af 100644 --- a/extra/usb_updater/Makefile +++ b/extra/usb_updater/Makefile @@ -25,7 +25,9 @@ CFLAGS := -std=gnu99 \ LIBS += $(shell pkg-config --libs libusb-1.0) -lcrypto CFLAGS += $(shell pkg-config --cflags libusb-1.0) -CFLAGS += -I../../board/cr50 -I ../../chip/g -I../../util +# NOTE: This may be board-specific +BOARD ?= cr50 +CFLAGS += -I../../include -I../../board/$(BOARD) -I ../../chip/g -I../../util $(PROGRAM): $(SOURCE) Makefile gcc $(CFLAGS) $(SOURCE) $(LFLAGS) $(LIBS) -o $@ |