Skip to content

Commit c4dfd8e

Browse files
committed
Fix default BOARD setting & messages
It's important that these lines NOT be indented with tabs, because that provokes Make to say that commands appear before a target.
1 parent 989acab commit c4dfd8e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ports/broadcom/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Select the board to build for.
2-
BOARD=raspberrypi_pi4
2+
BOARD?=raspberrypi_pi4b
33

44
ifeq ($(BOARD),)
5-
$(error You must provide a BOARD parameter)
5+
$(error You must provide a BOARD parameter)
66
else
7-
ifeq ($(wildcard boards/$(BOARD)/.),)
8-
$(error Invalid BOARD specified)
9-
endif
7+
ifeq ($(wildcard boards/$(BOARD)/.),)
8+
$(error Invalid BOARD "$(BOARD)" specified)
9+
endif
1010
endif
1111

1212
# If the build directory is not given, make it reflect the board name.

0 commit comments

Comments
 (0)