]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QUIET=1 option for make
authorJouni Malinen <j@w1.fi>
Fri, 26 Dec 2014 10:49:03 +0000 (12:49 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Dec 2014 13:49:05 +0000 (15:49 +0200)
This can be used to reduce verbosity for build messages.

Signed-off-by: Jouni Malinen <j@w1.fi>
hostapd/Makefile
src/lib.rules
wlantest/Makefile
wpa_supplicant/Makefile

index d1143bbcbb865a3f0643c8f07323a12d7e840311..e64c249762466090ba1f431d377374c221ce676e 100644 (file)
@@ -913,6 +913,10 @@ ifeq ($(V), 1)
 Q=
 E=true
 endif
+ifeq ($(QUIET), 1)
+Q=@
+E=true
+endif
 
 ifdef CONFIG_CODE_COVERAGE
 %.o: %.c
index b260d25a050cb00293d247a605e29975c05c85b0..0c79d992a6aa4196f386f0e5397167295585e1b0 100644 (file)
@@ -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) $<
index 0ccd615898d3045acf41f268def5f2e7fc18150d..320fdbbc2ee8aefa665ea565b436b77bde626255 100644 (file)
@@ -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) $<
index c2f8d01dfb457adc51a817887a6e9b5171e1f84b..06ba18fdb27e266fa2cb75ddacb3832373f7b220 100644 (file)
@@ -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 $< $@