Compare commits

...

6 Commits

Author SHA1 Message Date
Naveen Saini
7ea89b9ddc linux-intel/4.19: update to v4.19.8
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-13 16:42:13 +08:00
Anuj Mittal
8c3556b75b backport-iwlwifi: exclude from world builds
The release we use doesn't compile with 4.19 kernel (and shouldn't be
needed there) so exclude it from world builds for now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 15:06:19 +08:00
Anuj Mittal
4abc16cbbd linux-intel/4.19: update to v4.19.5
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
549a520fd6 linux-intel/4.19: add recipe
Builds 4.19/base from linux-intel-lts.

Include a patch from linux-yocto 4.18 to detect ncurses correctly when
cross-compiling and move the older patch to version specific recipes
from inc.

In addition to intel-common kernel configs from yocto-kernel-cache, this
also includes security.scc feature which enables a set of configs with
the aim of reducing the kernel attack surface and/or of performing
additional checks and validation of commonly used structures in kernel.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
190d99f09e ixgbe: upgrade 5.3.8 -> 5.5.2
Added XDP support and fixes compilation issues with 4.19 kernel. License
checksum changed because of formatting related changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-06 10:21:16 +08:00
Anuj Mittal
eea37caf54 README: point to correct branch for thud
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2018-12-04 10:52:49 +08:00
8 changed files with 83 additions and 7 deletions

4
README
View File

@ -21,11 +21,11 @@ Dependencies
This layer depends on:
URI: git://git.openembedded.org/bitbake
branch: 1.38
branch: 1.40
URI: git://git.openembedded.org/openembedded-core
layers: meta
branch: sumo
branch: thud
Table of Contents

View File

@ -5,14 +5,14 @@ PCI Express* 10 Gigabit Network Connections."
HOMEPAGE = "https://sourceforge.net/projects/e1000/"
SECTION = "kernel/network"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
LIC_FILES_CHKSUM = "file://${WORKDIR}/${BP}/COPYING;md5=a216b4192dc6b777b6f0db560e9a8417"
SRC_URI = "https://sourceforge.net/projects/e1000/files/ixgbe%20stable/${PV}/${BP}.tar.gz \
file://0001-ixgbe-skip-host-depmod.patch \
"
SRC_URI[md5sum] = "bc607eb17d119014ce51695177cb27f5"
SRC_URI[sha256sum] = "bdc7c71ebc6d1e836bd5bb495174ea89f1472b5a8f3597b93ecdedb5aa739052"
SRC_URI[md5sum] = "678514cb0e24f1c11d53d156a9845e64"
SRC_URI[sha256sum] = "1c1386e4eb0b4526d2edeb04cac657e1d74c2e5cef3f2d00a26a23926744ef1a"
S = "${WORKDIR}/${BP}/src"
MODULES_INSTALL_TARGET = "install"

View File

@ -52,3 +52,5 @@ KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " iwlwifi"
KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " iwlwifi"
KERNEL_MODULE_PACKAGE_PREFIX = "backport-iwlwifi"
EXCLUDE_FROM_WORLD = "1"

View File

@ -7,7 +7,6 @@ KERNEL_CONFIG_URI ?= "git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;n
SRC_URI = " \
git://github.com/intel/linux-intel-lts.git;protocol=https;name=machine;branch=${KBRANCH}; \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
${KERNEL_CONFIG_URI} \
"

View File

@ -0,0 +1,48 @@
From bebd63730a433ba62549a80114a9851328aa8897 Mon Sep 17 00:00:00 2001
From: Bruce Ashfield <bruce.ashfield@windriver.com>
Date: Mon, 2 Jul 2018 23:10:28 -0400
Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location
In some cross build environments such as the Yocto Project build
environment it provides an ncurses library that is compiled
differently than the host's version. This causes display corruption
problems when the host's curses includes are used instead of the
includes from the provided compiler are overridden. There is a second
case where there is no curses libraries at all on the host system and
menuconfig will just fail entirely.
The solution is simply to allow an override variable in
check-lxdialog.sh for environments such as the Yocto Project. Adding
a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing
compiling and linking against the right headers and libraries.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
cc: Michal Marek <mmarek@suse.cz>
cc: linux-kbuild@vger.kernel.org
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
---
scripts/kconfig/mconf-cfg.sh | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh
index c812872d7f9d..42d20819025c 100755
--- a/scripts/kconfig/mconf-cfg.sh
+++ b/scripts/kconfig/mconf-cfg.sh
@@ -4,6 +4,14 @@
PKG="ncursesw"
PKG2="ncurses"
+if [ "$CROSS_CURSES_LIB" != "" ]; then
+ echo libs=\'$CROSS_CURSES_LIB\'
+ if [ x"$CROSS_CURSES_INC" != x ]; then
+ echo cflags=\'$CROSS_CURSES_INC\'
+ fi
+ exit 0
+fi
+
if [ -n "$(command -v pkg-config)" ]; then
if pkg-config --exists $PKG; then
echo cflags=\"$(pkg-config --cflags $PKG)\"
--
2.17.1

View File

@ -4,7 +4,9 @@ KBRANCH = "4.14/base"
KMETA_BRANCH = "yocto-4.14"
# Fix for 32-bit perf issue. Remove when patch is backported to 4.14.
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch"
SRC_URI_append = " file://0001-perf-x86-32-explicitly-include-errno.h.patch \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
"
DEPENDS += "elfutils-native openssl-native util-linux-native"

View File

@ -0,0 +1,21 @@
require linux-intel.inc
KBRANCH = "4.19/base"
KMETA_BRANCH = "yocto-4.19"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
SRC_URI_append = " file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch"
DEPENDS += "elfutils-native openssl-native util-linux-native"
LINUX_VERSION ?= "4.19.8"
SRCREV_machine ?= "c5ae678d2bd23613277e42db2a986e0f9f8f53a0"
SRCREV_meta ?= "26bfb042ebb6e4816c5a8ce85d97a55e763430c7"
# For Crystalforest and Romley
KERNEL_MODULE_AUTOLOAD_append_core2-32-intel-common = " uio"
KERNEL_MODULE_AUTOLOAD_append_corei7-64-intel-common = " uio"
# Functionality flags
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/security/security.scc"

View File

@ -4,6 +4,10 @@ require linux-intel.inc
KBRANCH = "4.9/yocto/base"
KMETA_BRANCH = "yocto-4.9"
SRC_URI_append = " \
file://0001-menuconfig-check-lxdiaglog.sh-Allow-specification-of.patch \
"
LINUX_VERSION ?= "4.9.134"
SRCREV_machine ?= "33c9f20d1f40e87af4ccaf55c0fabb89b068d6ab"
SRCREV_meta ?= "f9e90afd4e47920e990dacb73cd6508917ca5422"