diff options
| author | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-01 13:40:19 (GMT) |
|---|---|---|
| committer | Daniel Thompson <daniel@redfelineninja.org.uk> | 2020-02-01 13:40:19 (GMT) |
| commit | a70f82cf74a62f4774182f97c01fbb0225d87943 (patch) | |
| tree | 8545ffb65a3ba014d8af7b6f6fc13bc62fe3b2ad /Makefile | |
| parent | 262d93c76cca638a832cf21cc44393df31bc7940 (diff) | |
Makefile: Allow BOARD to come from the environment
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
