Create the build directory before running gen_usb_descriptor

Otherwise it fails to create the file in that directory.
This commit is contained in:
Radomir Dopieralski 2017-10-31 20:55:11 +01:00 committed by Scott Shawcroft
parent 8c1f5427bc
commit 8c7571a75d

View File

@ -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)\