summaryrefslogtreecommitdiff
path: root/examples/make.mk
diff options
context:
space:
mode:
authorhathach <[email protected]>2021-03-02 12:24:12 +0700
committerhathach <[email protected]>2021-03-02 12:24:12 +0700
commitb066fdc2c69591412d2b7c9111a122266cd9f87a (patch)
treecd83f56098b7f2022b5875aff6206bdbc9815241 /examples/make.mk
parent71313d934d2258802a850cccecaf18f0cdccf386 (diff)
move fomu to its own family, update ci with build risv
Diffstat (limited to 'examples/make.mk')
-rw-r--r--examples/make.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/make.mk b/examples/make.mk
index c981d0de4..173f5598a 100644
--- a/examples/make.mk
+++ b/examples/make.mk
@@ -19,8 +19,10 @@ __check_defined = \
#-------------- Select the board to build for. ------------
# Board without family
-BOARD_PATH := $(subst $(TOP)/,,$(wildcard $(TOP)/hw/bsp/$(BOARD)))
+ifneq ($(wildcard $(TOP)/hw/bsp/$(BOARD)/board.mk),)
+BOARD_PATH := hw/bsp/$(BOARD)
FAMILY :=
+endif
# Board within family
ifeq ($(BOARD_PATH),)