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

Submitted by Fabian Blaese on March 11, 2020, 5:11 p.m.

Details

Message ID 20200311171105.3558036-6-fabian@blaese.de
State Superseded
Headers show

Commit Message

Fabian Blaese March 11, 2020, 5:11 p.m.
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@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(+)

Patch hide | download patch | download mbox

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

Comments

Robert Langhammer March 14, 2020, 10:46 p.m.
Reviewed-by: Robert Langhammer <rlanghammer@web.de>

Am 11.03.20 um 18:11 schrieb Fabian Bläse:
> 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@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