[PATCH 5/5] build: remove iwinfo and libiwinfo to save space

Fabian Bläse fabian at blaese.de
Mi Mär 11 18:11:05 CET 2020


The iwinfo utility is not used anywhere, so it can be removed.
This saves an additional xy KiB of space in the compressed binary,
which allows building our firmware with OpenWRT 19.07.2 for
non-LZMA 4 MiB flash devices.

Signed-off-by: Fabian Bläse <fabian at blaese.de>
---
This patch requires the removal of the iwinfo usage for wifiscan in fff-web,
which therefore has to be applied first.
---
 bsp/ar71xx/.config | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bsp/ar71xx/.config b/bsp/ar71xx/.config
index e453386..ea5201b 100644
--- a/bsp/ar71xx/.config
+++ b/bsp/ar71xx/.config
@@ -98,6 +98,8 @@ CONFIG_CLEAN_IPKG=y
 # CONFIG_FASTD_ENABLE_METHOD_GENERIC_UMAC is not set
 # CONFIG_PACKAGE_ALFRED_VIS is not set
 CONFIG_PACKAGE_hostapd-mini=y
+CONFIG_PACKAGE_iwinfo=m
+CONFIG_PACKAGE_libiwinfo=m
 CONFIG_PACKAGE_opkg=m
 CONFIG_PACKAGE_wpad-mini=m
 CONFIG_STRIP_KERNEL_EXPORTS=y
-- 
2.25.1



Mehr Informationen über die Mailingliste franken-dev