mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
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:
parent
e71f63a6b8
commit
6777842470
|
@ -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} \
|
||||||
|
|
2
recipes-kernel/linux/linux-yocto/ebtables.cfg
Normal file
2
recipes-kernel/linux/linux-yocto/ebtables.cfg
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
CONFIG_BRIDGE_NF_EBTABLES=m
|
||||||
|
CONFIG_BRIDGE_EBT_T_NAT=m
|
4
recipes-kernel/linux/linux-yocto/ebtables.scc
Normal file
4
recipes-kernel/linux/linux-yocto/ebtables.scc
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
define KFEATURE_DESCRIPTION "Enable ebtables support"
|
||||||
|
define KFEATURE_COMPATIBILITY board
|
||||||
|
|
||||||
|
kconf non-hardware ebtables.cfg
|
4
recipes-kernel/linux/linux-yocto_3.4.bbappend
Normal file
4
recipes-kernel/linux/linux-yocto_3.4.bbappend
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||||
|
|
||||||
|
SRC_URI += "file://ebtables.scc "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user