Makefile: Allow BOARD to come from the environment
This commit is contained in:
parent
262d93c76c
commit
a70f82cf74
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -2,10 +2,10 @@ export PYTHONPATH := $(PWD)/tools/nrfutil:$(PWD)/tools/intelhex:$(PYTHONPATH)
|
|||
|
||||
all : bootloader micropython
|
||||
|
||||
BOARD=$(error Please set BOARD=)
|
||||
BOARD ?= $(error Please set BOARD=)
|
||||
|
||||
clean :
|
||||
rm -rf \
|
||||
$(RM) -r \
|
||||
bootloader/_build-$(BOARD)_nrf52832 \
|
||||
micropython/mpy-cross/build \
|
||||
micropython/ports/nrf/build-$(BOARD)-s132
|
||||
|
|
Loading…
Add table
Reference in a new issue