Skip to content

Commit

Permalink
make: introduce QUIETER
Browse files Browse the repository at this point in the history
Makes the functionality of being more quiet on build (setting `QQ` to
`@`) independently configurable from `RIOT_CI_BUILD`.
  • Loading branch information
miri64 committed Jun 3, 2021
1 parent 3d18f1a commit 04ba724
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Makefile.include
Expand Up @@ -275,6 +275,7 @@ else
endif

QUIET ?= 1
QUIETER ?= 0

ifeq ($(QUIET),1)
Q=@
Expand All @@ -283,8 +284,6 @@ else
Q=
endif

QQ=

# Set this to 1 to enable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:
Expand Down Expand Up @@ -482,7 +481,13 @@ ifeq ($(RIOT_CI_BUILD),1)
RIOTNOLINK:=1
endif
# be more quiet when building for CI
QQ:=@
QUIETER=1
endif

ifeq ($(QUIETER),1)
QQ=@
else
QQ=
endif

# if you want to publish the board into the sources as an uppercase #define
Expand Down

0 comments on commit 04ba724

Please sign in to comment.