diff options
| author | Damien George <damien@micropython.org> | 2025-03-28 11:47:55 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-28 11:47:55 +1100 |
| commit | 5eee5a67dc69f6b701e9a79b6fd1e047dfbd55a9 (patch) | |
| tree | 93b6f45142dd11944f08a30f0de7ea4ada547eac | |
| parent | a828b99cffa97cc04c393a6fdec96bf9e39c07f5 (diff) | |
rp2/Makefile: Use $(Q) prefix on all commands.
This prevents printing the lengthy command and makes the build output a
little cleaner.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/rp2/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ports/rp2/Makefile b/ports/rp2/Makefile index 8cba521b2..76b5698d2 100644 --- a/ports/rp2/Makefile +++ b/ports/rp2/Makefile @@ -60,9 +60,9 @@ HELP_PICO_SDK_SUBMODULE ?= "\033[1;31mError: pico-sdk submodule is not initializ HELP_BUILD_ERROR ?= "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m" all: - [ -f ../../lib/pico-sdk/README.md ] || (echo -e $(HELP_PICO_SDK_SUBMODULE); false) - [ -e $(BUILD)/Makefile ] || cmake -S . -B $(BUILD) -DPICO_BUILD_DOCS=0 ${CMAKE_ARGS} - $(MAKE) $(MAKE_ARGS) -C $(BUILD) || (echo -e $(HELP_BUILD_ERROR); false) + $(Q)[ -f ../../lib/pico-sdk/README.md ] || (echo -e $(HELP_PICO_SDK_SUBMODULE); false) + $(Q)[ -e $(BUILD)/Makefile ] || cmake -S . -B $(BUILD) -DPICO_BUILD_DOCS=0 ${CMAKE_ARGS} + $(Q)$(MAKE) $(MAKE_ARGS) -C $(BUILD) || (echo -e $(HELP_BUILD_ERROR); false) clean: $(RM) -rf $(BUILD) @@ -73,5 +73,5 @@ clean: # This is done in a dedicated build directory as some CMake cache values are not # set correctly if not all submodules are loaded yet. submodules: - $(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="lib/pico-sdk" submodules - cmake -S . -B $(BUILD)/submodules -DUPDATE_SUBMODULES=1 ${CMAKE_ARGS} + $(Q)$(MAKE) -f ../../py/mkrules.mk GIT_SUBMODULES="lib/pico-sdk" submodules + $(Q)cmake -S . -B $(BUILD)/submodules -DUPDATE_SUBMODULES=1 ${CMAKE_ARGS} |
