mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 04:00:28 +01:00
rp2/Makefile: Add link to build troubleshooting on failure.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -22,9 +22,11 @@ ifeq ($(DEBUG),1)
|
||||
CMAKE_ARGS += -DCMAKE_BUILD_TYPE=Debug
|
||||
endif
|
||||
|
||||
HELP_BUILD_ERROR ?= "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m"
|
||||
|
||||
all:
|
||||
[ -e $(BUILD)/Makefile ] || cmake -S . -B $(BUILD) -DPICO_BUILD_DOCS=0 ${CMAKE_ARGS}
|
||||
$(MAKE) $(MAKESILENT) -C $(BUILD)
|
||||
$(MAKE) $(MAKESILENT) -C $(BUILD) || (echo -e $(HELP_BUILD_ERROR); false)
|
||||
|
||||
clean:
|
||||
$(RM) -rf $(BUILD)
|
||||
|
||||
Reference in New Issue
Block a user