diff options
-rw-r--r-- | recipes-extended/ebtables/ebtables_2.0.9-2.bb | 11 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/ebtables.cfg | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/ebtables.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.4.bbappend | 4 |
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 | |||
2 | PRIORITY = "optional" | 2 | PRIORITY = "optional" |
3 | LICENSE = "GPL" | 3 | LICENSE = "GPL" |
4 | SECTION = "console/network" | 4 | SECTION = "console/network" |
5 | PR = "r0" | 5 | PR = "r1" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" |
7 | 7 | ||
8 | TARGET_CC_ARCH += "${LDFLAGS}" | 8 | TARGET_CC_ARCH += "${LDFLAGS}" |
@@ -20,6 +20,15 @@ SRC_URI[sha256sum] = "98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f | |||
20 | 20 | ||
21 | S = "${WORKDIR}/ebtables-v${PV}" | 21 | S = "${WORKDIR}/ebtables-v${PV}" |
22 | 22 | ||
23 | ASNEEDED_pn-${PN} = "" | ||
24 | |||
25 | #Load the necessary kernel modules | ||
26 | RECOMMENDS_${PN} += "kernel-module-ebtables \ | ||
27 | kernel-module-ebtable-nat \ | ||
28 | kernel-module-ebtable-filter \ | ||
29 | kernel-module-ebtable_broute \ | ||
30 | " | ||
31 | |||
23 | EXTRA_OEMAKE = " \ | 32 | EXTRA_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 @@ | |||
1 | CONFIG_BRIDGE_NF_EBTABLES=m | ||
2 | CONFIG_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 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable ebtables support" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf 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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "file://ebtables.scc " | ||
4 | |||