From 8c7571a75d7839702dc2626e91a5da9a564022cd Mon Sep 17 00:00:00 2001 From: Radomir Dopieralski Date: Tue, 31 Oct 2017 20:55:11 +0100 Subject: [PATCH] Create the build directory before running gen_usb_descriptor Otherwise it fails to create the file in that directory. --- ports/atmel-samd/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index ef4012802c..2dd4802ba4 100644 --- a/ports/atmel-samd/Makefile +++ b/ports/atmel-samd/Makefile @@ -359,6 +359,7 @@ $(BUILD)/firmware.uf2: $(BUILD)/firmware.bin python2 $(TOP)/tools/uf2/utils/uf2conv.py -b $(BOOTLOADER_SIZE) -c -o $@ $^ $(BUILD)/autogen_usb_descriptor.c: tools/gen_usb_descriptor.py Makefile + install -d $(BUILD) python3 tools/gen_usb_descriptor.py \ --manufacturer $(USB_MANUFACTURER)\ --product $(USB_PRODUCT)\