diff --git a/network/iproute2/iproute2.conf b/network/iproute2/iproute2.conf index ea2b831b8..3f20f0291 100644 --- a/network/iproute2/iproute2.conf +++ b/network/iproute2/iproute2.conf @@ -17,6 +17,10 @@ prefix= set_confopt +var_append makeopt " " "KERNEL_INCLUDE=$root/usr/include" +var_append makeopt " " "LIBC_INCLUDE=$root/usr/include" +var_append makeinstopt " " "SBINDIR=$sbindir" + # iproute2 release tarball for 2.6.22-070710 doesn't have a toplevel directory # Note: iproute2-2.6.23 doesn't require this hack! custextract=iproute2_extract @@ -31,11 +35,6 @@ iproute2_postmake() { cp $confdir/dumpnetcfg.sh $root/$sbindir/dumpnetcfg chmod +x $root/$sbindir/dumpnetcfg } - -var_append makeopt " " "KERNEL_INCLUDE=$root/usr/include" -var_append makeopt " " "LIBC_INCLUDE=$root/usr/include" -var_append makeinstopt " " "SBINDIR=$sbindir" - hook_add postmake 5 "iproute2_postmake" pkginstalled bdb33 && atstage native || \