From 8c9ea49ff5f20d3252c4a8fa14dd6128b7d15518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20S=C3=B6ntgen?= Date: Tue, 28 Aug 2018 11:38:17 +0200 Subject: [PATCH] dde_linux: remove unused WPA supplicant code Since we use the git repo by now remove all unnecessary ballast like unused code and the git history. The will bring down the wifi_drv's src archive to reasonable size again. --- repos/dde_linux/ports/dde_linux.hash | 2 +- repos/dde_linux/ports/dde_linux.port | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/repos/dde_linux/ports/dde_linux.hash b/repos/dde_linux/ports/dde_linux.hash index f9b0ee45f4..82cd6f1ac2 100644 --- a/repos/dde_linux/ports/dde_linux.hash +++ b/repos/dde_linux/ports/dde_linux.hash @@ -1 +1 @@ -987b3081e335b0063655441c929a86a4627af72f +4d3a15cd044cf6df2678f60469909d60b419063d diff --git a/repos/dde_linux/ports/dde_linux.port b/repos/dde_linux/ports/dde_linux.port index 5f144e1a26..79b49ff2e2 100644 --- a/repos/dde_linux/ports/dde_linux.port +++ b/repos/dde_linux/ports/dde_linux.port @@ -131,6 +131,13 @@ URL(wpa_supplicant) := git://w1.fi/srv/git/hostap.git REV(wpa_supplicant) := 25bd4e7beb582509596fe60cb3591e1299f3121b DIR(wpa_supplicant) := src/app/wpa_supplicant +# remove unused code and git history from the repo +_patch: cleanup-wpa +cleanup-wpa: + @for dir in .git doc eap_example hs20 mac80211_hwsim radius_example \ + hostapd tests wlantest wpadebug wpaspy; do \ + rm -rf ${DIR(wpa_supplicant)}/$$dir; done + # # Firmware images