diff options
Diffstat (limited to 'ports/rp2/Makefile')
| -rw-r--r-- | ports/rp2/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ports/rp2/Makefile b/ports/rp2/Makefile index 3358c4cca..246f29dd0 100644 --- a/ports/rp2/Makefile +++ b/ports/rp2/Makefile @@ -2,11 +2,13 @@ # # This is a simple wrapper around cmake -BUILD = build +BOARD ?= PICO + +BUILD ?= build-$(BOARD) $(VERBOSE)MAKESILENT = -s -CMAKE_ARGS = +CMAKE_ARGS = -DMICROPY_BOARD=$(BOARD) ifdef USER_C_MODULES CMAKE_ARGS += -DUSER_C_MODULES=${USER_C_MODULES} |
