diff options
| author | Damien George <damien@micropython.org> | 2024-08-12 11:16:10 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-08-28 11:52:08 +1000 |
| commit | e8863e44e51bdd22a684f88779770845f0e7245b (patch) | |
| tree | 830a5c74b45eace36b6b92437594f0fcf8a6de0d | |
| parent | 1090f1a60c730cd589f65047e105a22a0445721d (diff) | |
qemu-arm/Makefile: Make the build directory reflect the board.
So multiple boards can be built at once.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/qemu-arm/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ports/qemu-arm/Makefile b/ports/qemu-arm/Makefile index f521a0c5a..5ff63bf7d 100644 --- a/ports/qemu-arm/Makefile +++ b/ports/qemu-arm/Makefile @@ -1,3 +1,8 @@ +BOARD ?= mps2-an385 + +# Make the build directory reflect the board. +BUILD ?= build-$(BOARD) + include ../../py/mkenv.mk -include mpconfigport.mk @@ -11,8 +16,6 @@ MICROPY_ROM_TEXT_COMPRESSION ?= 1 include $(TOP)/py/py.mk include $(TOP)/extmod/extmod.mk -BOARD ?= mps2-an385 - ifeq ($(BOARD),netduino2) CFLAGS += -mthumb -mcpu=cortex-m3 -mfloat-abi=soft CFLAGS += -DQEMU_SOC_STM32 |
