diff options
| author | Radomir Dopieralski <openstack@sheep.art.pl> | 2017-10-31 20:55:11 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2017-10-31 13:35:22 -0700 |
| commit | 8c7571a75d7839702dc2626e91a5da9a564022cd (patch) | |
| tree | c17dbaf5fe3b7e0ad44e11caa3ea0299a1cd8356 | |
| parent | 8c1f5427bc90a6cee181e060460ee8662f249018 (diff) | |
Create the build directory before running gen_usb_descriptor
Otherwise it fails to create the file in that directory.
| -rw-r--r-- | ports/atmel-samd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/atmel-samd/Makefile b/ports/atmel-samd/Makefile index ef4012802..2dd4802ba 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)\ |
