On 28 February 2018 at 13:55, Arjav Parikh <parikharja...@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. Regards, yousong _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel