From 7992b07f6a23b1e240df440f09b6573fe75f70a8 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 17 Apr 2010 17:10:31 +0300 Subject: [PATCH] Remove unnecessary SUBDIRS loops from src/*/Makefile There are no subdirectories in any of these directories or plans for adding ones. As such, there is no point in running the loop that does not do anything and can cause problems with some shells. --- src/ap/Makefile | 1 - src/common/Makefile | 1 - src/crypto/Makefile | 1 - src/drivers/Makefile | 1 - src/eap_common/Makefile | 1 - src/eap_peer/Makefile | 1 - src/eap_server/Makefile | 1 - src/eapol_auth/Makefile | 1 - src/eapol_supp/Makefile | 1 - src/l2_packet/Makefile | 1 - src/radius/Makefile | 1 - src/rsn_supp/Makefile | 1 - src/tls/Makefile | 1 - src/utils/Makefile | 1 - src/wps/Makefile | 1 - 15 files changed, 15 deletions(-) diff --git a/src/ap/Makefile b/src/ap/Makefile index cffba620d..9c41962fd 100644 --- a/src/ap/Makefile +++ b/src/ap/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/common/Makefile b/src/common/Makefile index cffba620d..9c41962fd 100644 --- a/src/common/Makefile +++ b/src/common/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/crypto/Makefile b/src/crypto/Makefile index 901b3a640..69aa16ac6 100644 --- a/src/crypto/Makefile +++ b/src/crypto/Makefile @@ -1,7 +1,6 @@ all: libcrypto.a clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d libcrypto.a install: diff --git a/src/drivers/Makefile b/src/drivers/Makefile index 8da6994e2..07600e52c 100644 --- a/src/drivers/Makefile +++ b/src/drivers/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d rm -f build.wpa_supplicant build.hostapd diff --git a/src/eap_common/Makefile b/src/eap_common/Makefile index cffba620d..9c41962fd 100644 --- a/src/eap_common/Makefile +++ b/src/eap_common/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/eap_peer/Makefile b/src/eap_peer/Makefile index d9449a28d..365105611 100644 --- a/src/eap_peer/Makefile +++ b/src/eap_peer/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.so *.d install: diff --git a/src/eap_server/Makefile b/src/eap_server/Makefile index cffba620d..9c41962fd 100644 --- a/src/eap_server/Makefile +++ b/src/eap_server/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/eapol_auth/Makefile b/src/eapol_auth/Makefile index cffba620d..9c41962fd 100644 --- a/src/eapol_auth/Makefile +++ b/src/eapol_auth/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/eapol_supp/Makefile b/src/eapol_supp/Makefile index cffba620d..9c41962fd 100644 --- a/src/eapol_supp/Makefile +++ b/src/eapol_supp/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/l2_packet/Makefile b/src/l2_packet/Makefile index cffba620d..9c41962fd 100644 --- a/src/l2_packet/Makefile +++ b/src/l2_packet/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/radius/Makefile b/src/radius/Makefile index 32f572f72..b199be8b1 100644 --- a/src/radius/Makefile +++ b/src/radius/Makefile @@ -1,7 +1,6 @@ all: libradius.a clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d libradius.a install: diff --git a/src/rsn_supp/Makefile b/src/rsn_supp/Makefile index cffba620d..9c41962fd 100644 --- a/src/rsn_supp/Makefile +++ b/src/rsn_supp/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: diff --git a/src/tls/Makefile b/src/tls/Makefile index 0f02447a9..a2da0965a 100644 --- a/src/tls/Makefile +++ b/src/tls/Makefile @@ -1,7 +1,6 @@ all: libtls.a clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d libtls.a install: diff --git a/src/utils/Makefile b/src/utils/Makefile index 93f9f155f..527cf3e73 100644 --- a/src/utils/Makefile +++ b/src/utils/Makefile @@ -1,7 +1,6 @@ all: libutils.a clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d libutils.a install: diff --git a/src/wps/Makefile b/src/wps/Makefile index cffba620d..9c41962fd 100644 --- a/src/wps/Makefile +++ b/src/wps/Makefile @@ -2,7 +2,6 @@ all: @echo Nothing to be made. clean: - for d in $(SUBDIRS); do make -C $$d clean; done rm -f *~ *.o *.d install: