[build] Improve comments

This commit is contained in:
Gabriel Ozouf
2021-04-15 11:19:46 +02:00
committed by Gabriel
parent 03c85c0b0e
commit bf99a2976b
2 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
TOOLCHAIN ?= arm-gcc-m7f TOOLCHAIN ?= arm-gcc-m7f
ION_KEYBOARD_LAYOUT = layout_B3 ION_KEYBOARD_LAYOUT = layout_B3
PCB_LATEST = 343 PCB_LATEST = 343 # PCB version 3.43

View File

@@ -33,8 +33,10 @@ $(BUILD_DIR)/test.external_flash.write.$(EXE): $(BUILD_DIR)/quiz/src/test_ion_ex
binpack: binpack:
ifndef USE_IN_FACTORY ifndef USE_IN_FACTORY
@echo "CAUTION: You are building a binpack." @echo "CAUTION: You are building a binpack."
@echo "You must specify where this binpack will be used" @echo "You must specify where this binpack will be used."
@echo "Please set the USE_IN_FACTORY environment variable to either 0 or 1 to proceed." @echo "Please set the USE_IN_FACTORY environment variable to either:"
@echo " - 0 for use in diagnostic"
@echo " - 1 for use in production"
@exit -1 @exit -1
endif endif
rm -rf output/binpack rm -rf output/binpack