From 945f9c7d33ee1b46f5d132e5e1b4cb2d0df27c7c Mon Sep 17 00:00:00 2001 From: Jens Rehsack Date: Tue, 7 Apr 2020 13:29:02 +0200 Subject: [PATCH] linux-qoriq_5.4: add 5.4 kernel from LSDK-20.04 Add recipe for linux-5.4 from latest NXP LSDK (20.04). Signed-off-by: Jens Rehsack --- ...5.4-add-warning-cflags-on-LSDK-20.04.patch | 26 +++++++++++++++++++ recipes-kernel/linux/linux-qoriq_5.4.bb | 8 ++++++ 2 files changed, 34 insertions(+) create mode 100644 recipes-kernel/linux/linux-qoriq/0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch create mode 100644 recipes-kernel/linux/linux-qoriq_5.4.bb diff --git a/recipes-kernel/linux/linux-qoriq/0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch new file mode 100644 index 00000000..b6c21d06 --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq/0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch @@ -0,0 +1,26 @@ +From 6cf92b25d63ff9e2b77ce0fbf62f4d5d040ef5db Mon Sep 17 00:00:00 2001 +From: Chunrong Guo +Date: Tue, 12 Mar 2019 03:52:03 +0100 +Subject: [PATCH] Makfefile: linux-5.4 add warning cflags on LSDK-20.04 + +Signed-off-by: C.r. Guo +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 07998b60d56c..7ec8fcb73e17 100644 +--- a/Makefile ++++ b/Makefile +@@ -458,7 +458,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE + KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \ + -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \ + -Werror=implicit-function-declaration -Werror=implicit-int \ +- -Wno-format-security \ ++ -Wno-address-of-packed-member -Wno-format-security \ + -std=gnu89 + KBUILD_CPPFLAGS := -D__KERNEL__ + KBUILD_AFLAGS_KERNEL := +-- +2.17.1 + diff --git a/recipes-kernel/linux/linux-qoriq_5.4.bb b/recipes-kernel/linux/linux-qoriq_5.4.bb new file mode 100644 index 00000000..e632f273 --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq_5.4.bb @@ -0,0 +1,8 @@ +LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" + +SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ + file://0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch \ +" +SRCREV = "f8118585ee3c7025265b28985fdfe0af96a84466" + +require recipes-kernel/linux/linux-qoriq.inc -- 2.40.1