]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
make the build process quieter to see warnings
authorJohannes Berg <johannes@sipsolutions.net>
Fri, 24 Jul 2009 00:11:29 +0000 (02:11 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 28 Jul 2009 11:37:40 +0000 (14:37 +0300)
hostapd/Makefile
wpa_supplicant/Makefile

index a1fba3e07988d3f5d1a2282cce94fb6fe3f71fda..84d33aaa4fd034b409445a613ff2d221775107f3 100644 (file)
@@ -615,6 +615,17 @@ ALL=hostapd hostapd_cli
 
 all: verify_config $(ALL)
 
+Q=@
+E=echo
+ifeq ($(V), 1)
+Q=
+E=true
+endif
+
+%.o: %.c
+       $(Q)$(CC) -c -o $@ $(CFLAGS) $<
+       @$(E) "  CC " $<
+
 verify_config:
        @if [ ! -r .config ]; then \
                echo 'Building hostapd requires a configuration file'; \
index 86e09b30603e16977c1f0832720e6d3a4ef1263d..ed50a6d36467d06c4e2b31c9ba3f327db30eec3f 100644 (file)
@@ -1253,6 +1253,16 @@ eap_ikev2.so: ../src/eap_peer/eap_ikev2.c ../src/eap_peer/ikev2.c ../src/eap_com
        $(CC) -o $@ $(CFLAGS) -shared -rdynamic -fPIC $< \
                -D$(*F:eap_%=eap_peer_%)_register=eap_peer_method_dynamic_init
 
+Q=@
+E=echo
+ifeq ($(V), 1)
+Q=
+E=true
+endif
+
+%.o: %.c
+       $(Q)$(CC) -c -o $@ $(CFLAGS) $<
+       @$(E) "  CC " $<
 
 wpa_supplicant.exe: wpa_supplicant
        mv -f $< $@