[OpenWrt-Devel] Remove iptables-1.4.21 packages from openwrt

Yousong Zhou yszhou4tech at gmail.com
Wed Feb 28 01:12:46 EST 2018

On 28 February 2018 at 13:55, Arjav Parikh <parikharjav24 at gmail.com> wrote:
> Hi,
> I want to remove support of iptables from my kernel image. For that I
> have disabled its support from menuconfig and when I am trying to
> build my kernel image again it shows error related to missing files.
> On debugging I identified that even though removing support from
> menuconfig it still compiles all the packages present in build_dir
> directory. I removed the complete iptables-1.4.21 package from
> build_dir as well but it gets copied again from some other directory
> and throws the same error.
> Kindly guide me how to remove such from being compiled in order to
> reduce my kernel image size. As this method will help me to remove
> unwanted libraries/packages from kernel.

Please try removing iptables from the DEFAULT_PACKAGES.router in
include/target.mk and see if it helps.

openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list