aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/iptables/iptables.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/iptables/iptables.inc')
-rw-r--r--recipes/iptables/iptables.inc19
1 files changed, 3 insertions, 16 deletions
diff --git a/recipes/iptables/iptables.inc b/recipes/iptables/iptables.inc
index 698c25975c..c8f70d49d3 100644
--- a/recipes/iptables/iptables.inc
+++ b/recipes/iptables/iptables.inc
@@ -10,23 +10,10 @@ INC_PR = "r6"
PARALLEL_MAKE = ""
-export COPT_FLAGS = "${CFLAGS}"
-export KERNEL_DIR = "${STAGING_INCDIR}"
-
-inherit autotools
-
-#do_compile () {
-# oe_runmake DESTDIR=${D} NO_SHARED_LIBS=1
-#}
-
-#do_install () {
-# oe_runmake DESTDIR=${D} install NO_SHARED_LIBS=1
-#}
-
-PACKAGES =+ "${PN}-utils"
-FILES_${PN}-utils = "${sbindir}/iptables-save ${sbindir}/iptables-restore"
+CFLAGS += "-Du32=__u32"
+RPROVIDES_${PN} += "iptables-utils"
+FILES_${PN}-dbg += "${libexecdir}/xtables/.debug"
FILES_${PN}-doc += "${mandir}"
-FILES_${PN}-dbg += "${libexecdir}/xtables/.debug/*"
RRECOMMENDS = "\
kernel-module-ip-tables \