소스 검색

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)