mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 18:32:20 +02:00
The nft tables feature had become out of sync with current config
options. Refreshing the support with the following commits:
Integrating the following commit(s) to linux-yocto/.:
da478fab290 nft: add CONFIG_NFT_SOCKET
54e2d36b291 nft: add CONFIG_NFT_TUNNEL
6fefc38049a nft: add CONFIG_NFT_CONNLIMIT
cb0b5fc7ed5 nft: enable NF_TABLES_NETDEV
d36b304d614 nft: drop rbtree
0a70fa87ee0 nft: merge chain nat types
c226e82038a nft: merge route type to core
79968ab78bb nft: masq options merged
8a0bff8cc5f nft: _set is now built-ins
5952a26c4f7 nft: consolidate _set options
0941f794363 nf: META is now builtin
2fcc2c1b552 nf: EXTHDR is part of core, drop config
e909f08155d nf: ARP is bool, set to y
3bc18ee0615 nf: make nf_tables =y
b90241a5403 nf: set CONFIG_NF_TABLES_IPV6, since dependencies are =y
32ae602ab4d nf: set CONFIG_NF_TABLES_IPV4, since dependencies are =y
2a9be72daea nf: make inet_tables =y
(From OE-Core rev: c3f2e4c0314d56053b235ed4f0455aa49b79ebed)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cce1ed5973455666c09dd56ecf3d0c373bdb3fb2)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
46 lines
2.0 KiB
BlitzBasic
46 lines
2.0 KiB
BlitzBasic
KBRANCH ?= "v5.10/standard/preempt-rt/base"
|
|
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
# Skip processing of this recipe if it is not explicitly specified as the
|
|
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
|
|
# to build multiple virtual/kernel providers, e.g. as dependency of
|
|
# core-image-rt-sdk, core-image-rt.
|
|
python () {
|
|
if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt":
|
|
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
|
|
}
|
|
|
|
SRCREV_machine ?= "74f60bcd7323d243e0f3d3db34021ae624afb61a"
|
|
SRCREV_meta ?= "b969f83647833d21d8826c4667492f58895213c3"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
|
|
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.10;destsuffix=${KMETA}"
|
|
|
|
LINUX_VERSION ?= "5.10.46"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
|
|
|
|
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
|
DEPENDS += "openssl-native util-linux-native"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
KMETA = "kernel-meta"
|
|
KCONF_BSP_AUDIT_LEVEL = "1"
|
|
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|
|
|
|
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuarmv5|qemuarm64|qemuppc|qemumips)"
|
|
|
|
KERNEL_DEVICETREE_qemuarmv5 = "versatile-pb.dtb"
|
|
|
|
# Functionality flags
|
|
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
|
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
|
|
KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
|
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
|
|
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
|
|
KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "", d)}"
|
|
KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/gpio/mockup.scc", "", d)}"
|