summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iptables/iptables_1.2.9.oe5
1 files changed, 3 insertions, 2 deletions
diff --git a/iptables/iptables_1.2.9.oe b/iptables/iptables_1.2.9.oe
index 55af54b770..da3ed0560c 100644
--- a/iptables/iptables_1.2.9.oe
+++ b/iptables/iptables_1.2.9.oe
@@ -6,12 +6,13 @@ SRC_URI = http://www.netfilter.org/files/iptables-1.2.9.tar.bz2
S = "${WORKDIR}/iptables-1.2.9"
+export COPT_FLAGS=${CFLAGS}
+export KERNEL_DIR=${STAGING_INCDIR}
do_compile () {
unset CFLAGS
- oe_runmake PREFIX=${prefix}
+ oe_runmake
}
do_install () {
- unset CFLAGS
oe_runmake PREFIX=${prefix} DESTDIR=${D} install
}