浏览代码

Makefile: be more quiet when make -s is used

Somehow got lost in the recent reorganisation.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 16 年之前
父节点
当前提交
89464a9601
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      Makefile

+ 3 - 0
Makefile

@@ -202,6 +202,9 @@ BASE_TARGETS:=uclibc
 endif
 TARGETS:=
 
+# silent mode requested?
+QUIET:=$(if $(findstring s,$(MAKEFLAGS)),-q)
+
 # Strip off the annoying quoting
 ARCH:=$(call qstrip,$(BR2_ARCH))
 ifeq ($(ARCH),xtensa)