Skip to content

Commit

Permalink
refactor(Build): Check if MAXIM_PATH is empty before including board.…
Browse files Browse the repository at this point in the history
…mk (#1356)
  • Loading branch information
crsz20 authored Feb 26, 2025
1 parent 3e9349c commit 2ec3f4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/libs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,12 @@ PROJ_CFLAGS += -DLIB_BOARD
# in this case we want to avoid building with mismatched BSPs.
export BOARD
export BSP_SEARCH_DIR
ifeq "$(MAXIM_PATH)" ""
$(warning Warning: MAXIM_PATH is not set! Unable to find the MiscDrivers directory.)
else
include $(BOARD_DIR)/board.mk
endif

endif
# ************************

Expand Down

0 comments on commit 2ec3f4e

Please sign in to comment.