My solution is to disable parallel build and make iptables as build dependency.
PKG_BUILD_PARALLEL:=0 PKG_BUILD_DEPENDS:=iptables BTW, iproute2 doesn't honor COPTS correctly, I fixed this by reordering flags. more detail can be found here: https://github.com/wongsyrone/lede-1/commit/1d75df6a16ce98fa20bb84ba88c0004ceb89e987 https://github.com/wongsyrone/lede-1/commit/32d516646d6bcba2b7aeb2d3d692944070cbe58b Best Regards, Syrone Wong On Tue, Mar 21, 2017 at 7:51 AM, Russell Senior <russ...@personaltelco.net> wrote: >>>>>> "Russell" == Russell Senior <russ...@personaltelco.net> writes: > >>>>>> "Kevin" == Kevin Darbyshire-Bryant <ke...@darbyshire-bryant.me.uk> >>>>>> writes: > Kevin> On 20/03/17 12:35, Yousong Zhou wrote: >>>> On 19 March 2017 at 20:38, Russell Senior <russ...@personaltelco.net> >>>> wrote: >>>>> >>>>> Thanks to Syrone Wong <wong.syr...@gmail.com> for the pointer to >>>>> UAPI fixes. This builds now, at least on x86/geode. It would be >>>>> nice to have some testing. >>>>> >>>>> Signed-off-by: Russell Senior <russ...@personaltelco.net> --- >>>> >>>> Tested-by: Yousong Zhou <yszhou4t...@gmail.com> >>>> >>>> CC jogo, can we have these two patches in generic dir (271, 272) >>>> upstreamed? >>>> >>>> Regards, yousong > > Kevin> Was this tested on a 4.4 kernel? When I tried it wouldn't > Kevin> compile (but it was a quick 5 seconds before I had to run out the > Kevin> door type test, so I could have done summit stooopid) > > Russell> I tested ip-tiny on a Buffalo WZR600DHP (ar71xx): > > Russell> root@hostname:/# uname -a Linux hostname 4.4.53 #0 Sun Mar 19 > Russell> 12:42:50 2017 mips GNU/Linux root@hostname:/# ip -V ip utility, > Russell> iproute2-ss4.10.0-1-lede > > Russell> The new ip-tiny ipk is 20k bigger than the old version (~79k vs > Russell> ~100k). There may be some additional pruning possible to get > Russell> it back down to a similar size. > > There may also be a missing depends. I had temporary -j16 build > failures due to a missing iptables header file. Restarting worked, > presumably because the header had by then appeared where expected. I am > not sure what, exactly, was providing the header. > > ../include/xtables.h:34:29: fatal error: xtables-version.h: No such file or > directory > > > -- > Russell Senior, President > russ...@personaltelco.net > > _______________________________________________ > Lede-dev mailing list > Lede-dev@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/lede-dev _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev