Kernel: T2990: Update Linux Kernel to v4.19.152

This commit is contained in:
Christian Poessinger 2020-10-17 22:37:28 +02:00
parent 62c4d3d511
commit 4e89180cd6
4 changed files with 40 additions and 7 deletions

View File

@ -5,7 +5,7 @@
"debian_distribution": "buster",
"vyos_mirror": "http://dev.packages.vyos.net/repositories/current",
"vyos_branch": "current",
"kernel_version": "4.19.148",
"kernel_version": "4.19.152",
"kernel_flavor": "amd64-vyos",
"release_train": "equuleus",
"additional_repositories": [

View File

@ -92,7 +92,7 @@ pipeline {
doGenerateSubmoduleConfigurations: false,
extensions: [[$class: 'CleanCheckout'],
[$class: 'CloneOption', depth: 1, noTags: false, reference: '', shallow: true]],
branches: [[name: 'v4.19.148' ]],
branches: [[name: 'v4.19.152' ]],
userRemoteConfigs: [[credentialsId: 'GitHub-vyosbot', url: 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git']]])
}
}

View File

@ -1,8 +1,10 @@
From be73c78420d9a23accfa9568e451046272ceab84 Mon Sep 17 00:00:00 2001
From: Riku Voipio <riku.voipio@linaro.org>
Date: Sat, 17 Oct 2020 10:30:37 +0000
Subject: [PATCH] Perf is shipped in debian in linux-tools-$version package
Perf is shipped in debian in linux-tools-$version package. Extend
the existing to builddeb script to build perf if BUILD_TOOLS=y
is added the make deb-pkg line
Extend the existing to builddeb script to build perf if BUILD_TOOLS=y is
added the make deb-pkg line
Some features of this patch I'm uncomfortable with:
@ -31,7 +33,7 @@ Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
1 file changed, 30 insertions(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 0b31f4f1f92c..629144b4226b 100755
index 0b31f4f1f92c..517a54e64509 100755
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -39,10 +39,12 @@ tmpdir="$objtree/debian/tmp"
@ -71,7 +73,7 @@ index 0b31f4f1f92c..629144b4226b 100755
+ mkdir -p $output/tools/perf
+ output="O=$output/tools/perf"
+ fi
+ $MAKE -C $srctree/tools/perf $output LDFLAGS= srctree=$KBUILD_SRC prefix=$tools_dest/usr install
+ $MAKE V=1 -C $srctree/tools/perf $output LDFLAGS= srctree=$KBUILD_SRC prefix=$tools_dest/usr install
+ cat <<EOF >> debian/control
+
+Package: $tools_packagename

View File

@ -0,0 +1,31 @@
From b61355d12854a6a400e4ddfc79f2f849ac9656dc Mon Sep 17 00:00:00 2001
From: Christian Poessinger <christian@poessinger.com>
Date: Sat, 17 Oct 2020 17:09:26 +0000
Subject: [PATCH] perf: fix compilation error due to discarded const qualifier
---
tools/perf/Makefile.config | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/perf/Makefile.config b/tools/perf/Makefile.config
index ae0c5bee8014..51a48ea869dd 100644
--- a/tools/perf/Makefile.config
+++ b/tools/perf/Makefile.config
@@ -230,12 +230,12 @@ FEATURE_CHECK_LDFLAGS-libpython-version := $(PYTHON_EMBED_LDOPTS)
CFLAGS += -fno-omit-frame-pointer
CFLAGS += -ggdb3
CFLAGS += -funwind-tables
-CFLAGS += -Wall
+CFLAGS += -Wno-discarded-qualifiers
CFLAGS += -Wextra
CFLAGS += -std=gnu99
CXXFLAGS += -std=gnu++11 -fno-exceptions -fno-rtti
-CXXFLAGS += -Wall
+CXXFLAGS += -Wno-discarded-qualifiers
CXXFLAGS += -fno-omit-frame-pointer
CXXFLAGS += -ggdb3
CXXFLAGS += -funwind-tables
--
2.20.1