[PATCH] gitignore: clean up a bit

Johannes Berg johannes at sipsolutions.net
Sun Oct 11 04:06:14 EDT 2020


From: Johannes Berg <johannes.berg at intel.com>

Now that we no longer leave build artifacts outside the
build folder, we can clean up the gitignore a bit. Also
move more things to per-folder files that we mostly had
already anyway.

Signed-off-by: Johannes Berg <johannes.berg at intel.com>
---
 .gitignore                | 28 ----------------------------
 hostapd/.gitignore        |  5 +++++
 src/crypto/.gitignore     |  1 -
 src/drivers/.gitignore    |  2 --
 src/radius/.gitignore     |  1 -
 src/tls/.gitignore        |  1 -
 src/utils/.gitignore      |  1 -
 wlantest/.gitignore       |  4 ++++
 wpa_supplicant/.gitignore | 14 ++++++++++++++
 9 files changed, 23 insertions(+), 34 deletions(-)
 create mode 100644 hostapd/.gitignore
 delete mode 100644 src/crypto/.gitignore
 delete mode 100644 src/drivers/.gitignore
 delete mode 100644 src/radius/.gitignore
 delete mode 100644 src/tls/.gitignore
 delete mode 100644 src/utils/.gitignore
 create mode 100644 wlantest/.gitignore

diff --git a/.gitignore b/.gitignore
index 52a77fc01b9e..debae2d23aac 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,37 +1,9 @@
-*.a
-*.o
-*.d
-*.gcno
-*.gcda
-*.gcov
 *.pyc
 *~
-.config
 tests/hwsim/logs
 tests/remote/logs
 wpaspy/build
-wpa_supplicant/eapol_test
-wpa_supplicant/nfc_pw_token
-wpa_supplicant/preauth_test
-wpa_supplicant/wpa_cli
-wpa_supplicant/wpa_passphrase
-wpa_supplicant/wpa_supplicant
-wpa_supplicant/wpa_priv
-wpa_supplicant/wpa_gui/Makefile
-wpa_supplicant/wpa_gui/wpa_gui
-wpa_supplicant/wpa_gui-qt4/Makefile
-wpa_supplicant/wpa_gui-qt4/wpa_gui
-wpa_supplicant/libwpa_test1
-wpa_supplicant/libwpa_test2
-hostapd/hostapd
-hostapd/hostapd_cli
-hostapd/hlr_auc_gw
-hostapd/nt_password_hash
 mac80211_hwsim/tools/hwsim_test
-wlantest/libwlantest.a
-wlantest/test_vectors
-wlantest/wlantest
-wlantest/wlantest_cli
 **/parallel-vm.log
 tags
 build/
diff --git a/hostapd/.gitignore b/hostapd/.gitignore
new file mode 100644
index 000000000000..857f3dc4196c
--- /dev/null
+++ b/hostapd/.gitignore
@@ -0,0 +1,5 @@
+.config
+hostapd
+hostapd_cli
+hlr_auc_gw
+nt_password_hash
diff --git a/src/crypto/.gitignore b/src/crypto/.gitignore
deleted file mode 100644
index ee606048c417..000000000000
--- a/src/crypto/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-libcrypto.a
diff --git a/src/drivers/.gitignore b/src/drivers/.gitignore
deleted file mode 100644
index 1d9e0e661afe..000000000000
--- a/src/drivers/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-build.wpa_supplicant
-build.hostapd
diff --git a/src/radius/.gitignore b/src/radius/.gitignore
deleted file mode 100644
index a89a1f92753d..000000000000
--- a/src/radius/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-libradius.a
diff --git a/src/tls/.gitignore b/src/tls/.gitignore
deleted file mode 100644
index d43242d73390..000000000000
--- a/src/tls/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-libtls.a
diff --git a/src/utils/.gitignore b/src/utils/.gitignore
deleted file mode 100644
index 833734f887ac..000000000000
--- a/src/utils/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-libutils.a
diff --git a/wlantest/.gitignore b/wlantest/.gitignore
new file mode 100644
index 000000000000..7ffabe601bb8
--- /dev/null
+++ b/wlantest/.gitignore
@@ -0,0 +1,4 @@
+libwlantest.a
+test_vectors
+wlantest
+wlantest_cli
diff --git a/wpa_supplicant/.gitignore b/wpa_supplicant/.gitignore
index 0e3ad1b06cc8..ff741201e6dd 100644
--- a/wpa_supplicant/.gitignore
+++ b/wpa_supplicant/.gitignore
@@ -1 +1,15 @@
+.config
 *.service
+eapol_test
+nfc_pw_token
+preauth_test
+wpa_cli
+wpa_passphrase
+wpa_supplicant
+wpa_priv
+wpa_gui/Makefile
+wpa_gui/wpa_gui
+wpa_gui-qt4/Makefile
+wpa_gui-qt4/wpa_gui
+libwpa_test1
+libwpa_test2
-- 
2.26.2




More information about the Hostap mailing list