summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/ebtables/ebtables_2.0.9-2.bb11
-rw-r--r--recipes-kernel/linux/linux-yocto/ebtables.cfg2
-rw-r--r--recipes-kernel/linux/linux-yocto/ebtables.scc4
-rw-r--r--recipes-kernel/linux/linux-yocto_3.4.bbappend4
4 files changed, 20 insertions, 1 deletions
diff --git a/recipes-extended/ebtables/ebtables_2.0.9-2.bb b/recipes-extended/ebtables/ebtables_2.0.9-2.bb
index 2a3a9e1b..d67d4d57 100644
--- a/recipes-extended/ebtables/ebtables_2.0.9-2.bb
+++ b/recipes-extended/ebtables/ebtables_2.0.9-2.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a Linux br
2PRIORITY = "optional" 2PRIORITY = "optional"
3LICENSE = "GPL" 3LICENSE = "GPL"
4SECTION = "console/network" 4SECTION = "console/network"
5PR = "r0" 5PR = "r1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" 6LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
7 7
8TARGET_CC_ARCH += "${LDFLAGS}" 8TARGET_CC_ARCH += "${LDFLAGS}"
@@ -20,6 +20,15 @@ SRC_URI[sha256sum] = "98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f
20 20
21S = "${WORKDIR}/ebtables-v${PV}" 21S = "${WORKDIR}/ebtables-v${PV}"
22 22
23ASNEEDED_pn-${PN} = ""
24
25#Load the necessary kernel modules
26RECOMMENDS_${PN} += "kernel-module-ebtables \
27 kernel-module-ebtable-nat \
28 kernel-module-ebtable-filter \
29 kernel-module-ebtable_broute \
30 "
31
23EXTRA_OEMAKE = " \ 32EXTRA_OEMAKE = " \
24 BINDIR=${base_sbindir} \ 33 BINDIR=${base_sbindir} \
25 MANDIR=${mandir} \ 34 MANDIR=${mandir} \
diff --git a/recipes-kernel/linux/linux-yocto/ebtables.cfg b/recipes-kernel/linux/linux-yocto/ebtables.cfg
new file mode 100644
index 00000000..a3c514e1
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/ebtables.cfg
@@ -0,0 +1,2 @@
1CONFIG_BRIDGE_NF_EBTABLES=m
2CONFIG_BRIDGE_EBT_T_NAT=m
diff --git a/recipes-kernel/linux/linux-yocto/ebtables.scc b/recipes-kernel/linux/linux-yocto/ebtables.scc
new file mode 100644
index 00000000..b3895e58
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto/ebtables.scc
@@ -0,0 +1,4 @@
1define KFEATURE_DESCRIPTION "Enable ebtables support"
2define KFEATURE_COMPATIBILITY board
3
4kconf non-hardware ebtables.cfg
diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend
new file mode 100644
index 00000000..78d3b836
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend
@@ -0,0 +1,4 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI += "file://ebtables.scc "
4