BUGFIX: fixup iptables build, which was failing due to an erronious /usr/src/linux...
authorChris Larson <clarson@kergoth.com>
Tue, 20 Jan 2004 05:52:28 +0000 (05:52 +0000)
committerChris Larson <clarson@kergoth.com>
Tue, 20 Jan 2004 05:52:28 +0000 (05:52 +0000)
BKrev: 400cc21c83z0u7Y8MLbAJkd7gEj8Og

iptables/iptables_1.2.9.oe

index 55af54b..da3ed05 100644 (file)
@@ -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
 }