mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
Build: error if building bench_files without the right flags
This commit is contained in:
@@ -88,7 +88,12 @@ endif
|
||||
|
||||
.PRECIOUS: $(BUILD_DIR)/benchFlash.bin $(BUILD_DIR)/benchRAM.bin $(BUILD_DIR)/epsilon.internal.bin $(BUILD_DIR)/epsilon.external.bin
|
||||
.PHONY: $(BUILD_DIR)/bench_files
|
||||
ifeq ($(EPSILON_USB_DFU_XIP)$(EPSILON_DEVICE_BENCH),11)
|
||||
$(BUILD_DIR)/bench_files: $(BUILD_DIR)/epsilon_two_binaries $(BUILD_DIR)/benchRAM.bin $(BUILD_DIR)/benchFlash.bin
|
||||
@echo "Building epsilon.internal.bin, epsilon.external.bin, benchRAM.bin and benchFlash.bin"
|
||||
else
|
||||
$(BUILD_DIR)/bench_files:
|
||||
@echo "Error: bench_files require EPSILON_DEVICE_BENCH=1 EPSILON_USB_DFU_XIP=1"
|
||||
endif
|
||||
|
||||
include scripts/targets.device.$(MODEL).mak
|
||||
|
||||
Reference in New Issue
Block a user