Skip to content

Commit

Permalink
qemu/boards: Change boards to use a subdirectory like other ports.
Browse files Browse the repository at this point in the history
This commit moves `<board>.mk` to `<board>/mpconfigboard.mk` for all qemu
boards, making it the same as other bare-metal ports.

Signed-off-by: Damien George <[email protected]>
  • Loading branch information
dpgeorge committed Jan 19, 2025
1 parent 6db2997 commit b4f53a0
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ports/qemu/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
# Initial setup of Makefile environment

BOARD ?= MPS2_AN385
BOARD_DIR ?= boards/$(BOARD)

ifeq ($(wildcard $(BOARD_DIR)/.),)
$(error Invalid BOARD specified: $(BOARD_DIR))
endif

# Make the build directory reflect the board.
BUILD ?= build-$(BOARD)
Expand All @@ -10,7 +15,7 @@ include ../../py/mkenv.mk
-include mpconfigport.mk

# Include board specific .mk file.
include boards/$(BOARD).mk
include $(BOARD_DIR)/mpconfigboard.mk

# qstr definitions (must come before including py.mk)
QSTR_DEFS = qstrdefsport.h
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b4f53a0

Please sign in to comment.