From patchwork Sun Mar 15 14:48:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [v3,5/5] build: remove iwinfo and libiwinfo to save space From: Fabian Blaese X-Patchwork-Id: 1297 Message-Id: <20200315144820.141706-6-fabian@blaese.de> To: franken-dev@freifunk.net Date: Sun, 15 Mar 2020 15:48:20 +0100 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 Reviewed-by: Robert Langhammer --- 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 1529445..63e9d84 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