diff options
author | Jouni Malinen <j@w1.fi> | 2014-12-26 10:49:03 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2014-12-29 13:49:05 (GMT) |
commit | 010fa245bd0a0d13d135e6e9ea38d3715e4c8699 (patch) | |
tree | d06d12d9d96455a2059954ab2dc5d6c8dbc70634 | |
parent | 31705bf4fc5fee86306fee5640a16e6afb9b8b6f (diff) | |
download | hostap-010fa245bd0a0d13d135e6e9ea38d3715e4c8699.zip hostap-010fa245bd0a0d13d135e6e9ea38d3715e4c8699.tar.gz hostap-010fa245bd0a0d13d135e6e9ea38d3715e4c8699.tar.bz2 |
Add QUIET=1 option for make
This can be used to reduce verbosity for build messages.
Signed-off-by: Jouni Malinen <j@w1.fi>
-rw-r--r-- | hostapd/Makefile | 4 | ||||
-rw-r--r-- | src/lib.rules | 4 | ||||
-rw-r--r-- | wlantest/Makefile | 4 | ||||
-rw-r--r-- | wpa_supplicant/Makefile | 10 |
4 files changed, 20 insertions, 2 deletions
diff --git a/hostapd/Makefile b/hostapd/Makefile index d1143bb..e64c249 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 b260d25..0c79d99 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 0ccd615..320fdbb 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 c2f8d01..06ba18f 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 $< $@ |