ebtables: added necessary kernel modules linux-yocto: added kernel configs for ebtables modules

Signed-off-by: Mihai Prica <mihai.prica@intel.com>
Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
This commit is contained in:
Mihai Prica 2012-11-15 12:07:40 +02:00 committed by Raymond Danks
parent e71f63a6b8
commit 6777842470
4 changed files with 20 additions and 1 deletions

View File

@ -2,7 +2,7 @@ DESCRIPTION = "Utility that enables basic Ethernet frame filtering on a Linux br
PRIORITY = "optional" PRIORITY = "optional"
LICENSE = "GPL" LICENSE = "GPL"
SECTION = "console/network" SECTION = "console/network"
PR = "r0" PR = "r1"
LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e"
TARGET_CC_ARCH += "${LDFLAGS}" TARGET_CC_ARCH += "${LDFLAGS}"
@ -20,6 +20,15 @@ SRC_URI[sha256sum] = "98855f644d43c615a8e663197978e49c95642f46f2bbf8e6f3213af87f
S = "${WORKDIR}/ebtables-v${PV}" S = "${WORKDIR}/ebtables-v${PV}"
ASNEEDED_pn-${PN} = ""
#Load the necessary kernel modules
RECOMMENDS_${PN} += "kernel-module-ebtables \
kernel-module-ebtable-nat \
kernel-module-ebtable-filter \
kernel-module-ebtable_broute \
"
EXTRA_OEMAKE = " \ EXTRA_OEMAKE = " \
BINDIR=${base_sbindir} \ BINDIR=${base_sbindir} \
MANDIR=${mandir} \ MANDIR=${mandir} \

View File

@ -0,0 +1,2 @@
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_T_NAT=m

View File

@ -0,0 +1,4 @@
define KFEATURE_DESCRIPTION "Enable ebtables support"
define KFEATURE_COMPATIBILITY board
kconf non-hardware ebtables.cfg

View File

@ -0,0 +1,4 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://ebtables.scc "