From: Jouni Malinen Date: Fri, 26 Dec 2014 10:49:03 +0000 (+0200) Subject: Add QUIET=1 option for make X-Git-Tag: hostap_2_4~654 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010fa245bd0a0d13d135e6e9ea38d3715e4c8699;p=thirdparty%2Fhostap.git Add QUIET=1 option for make This can be used to reduce verbosity for build messages. Signed-off-by: Jouni Malinen --- diff --git a/hostapd/Makefile b/hostapd/Makefile index d1143bbcb..e64c24976 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -913,6 +913,10 @@ ifeq ($(V), 1) Q= E=true endif +ifeq ($(QUIET), 1) +Q=@ +E=true +endif ifdef CONFIG_CODE_COVERAGE %.o: %.c diff --git a/src/lib.rules b/src/lib.rules index b260d25a0..0c79d992a 100644 --- a/src/lib.rules +++ b/src/lib.rules @@ -15,6 +15,10 @@ ifeq ($(V), 1) Q= E=true endif +ifeq ($(QUIET), 1) +Q=@ +E=true +endif %.o: %.c $(Q)$(CC) -c -o $@ $(CFLAGS) $< diff --git a/wlantest/Makefile b/wlantest/Makefile index 0ccd61589..320fdbbc2 100644 --- a/wlantest/Makefile +++ b/wlantest/Makefile @@ -32,6 +32,10 @@ ifeq ($(V), 1) Q= E=true endif +ifeq ($(QUIET), 1) +Q=@ +E=true +endif %.o: %.c $(Q)$(CC) -c -o $@ $(CFLAGS) $< diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index c2f8d01df..06ba18fdb 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -1595,6 +1595,10 @@ ifeq ($(V), 1) Q= E=true endif +ifeq ($(QUIET), 1) +Q=@ +E=true +endif dynamic_eap_methods: $(EAPDYN) @@ -1687,10 +1691,12 @@ else endif %.service: %.service.in - sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@ + $(Q)sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@ + @$(E) " sed" $< %@.service: %.service.arg.in - sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@ + $(Q)sed -e 's|\@BINDIR\@|$(BINDIR)|g' $< >$@ + @$(E) " sed" $< wpa_supplicant.exe: wpa_supplicant mv -f $< $@