summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-kernel/linux/linux-qoriq/0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch26
-rw-r--r--recipes-kernel/linux/linux-qoriq_5.4.bb8
2 files changed, 34 insertions, 0 deletions
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 @@
1From 6cf92b25d63ff9e2b77ce0fbf62f4d5d040ef5db Mon Sep 17 00:00:00 2001
2From: Chunrong Guo <chunrong.guo@nxp.com>
3Date: Tue, 12 Mar 2019 03:52:03 +0100
4Subject: [PATCH] Makfefile: linux-5.4 add warning cflags on LSDK-20.04
5
6Signed-off-by: C.r. Guo <nxa13725@lsv07004.swis.us-cdc01.nxp.com>
7---
8 Makefile | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/Makefile b/Makefile
12index 07998b60d56c..7ec8fcb73e17 100644
13--- a/Makefile
14+++ b/Makefile
15@@ -458,7 +458,7 @@ KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE
16 KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \
17 -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE \
18 -Werror=implicit-function-declaration -Werror=implicit-int \
19- -Wno-format-security \
20+ -Wno-address-of-packed-member -Wno-format-security \
21 -std=gnu89
22 KBUILD_CPPFLAGS := -D__KERNEL__
23 KBUILD_AFLAGS_KERNEL :=
24--
252.17.1
26
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 @@
1LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
2
3SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \
4 file://0001-Makfefile-linux-5.4-add-warning-cflags-on-LSDK-20.04.patch \
5"
6SRCREV = "f8118585ee3c7025265b28985fdfe0af96a84466"
7
8require recipes-kernel/linux/linux-qoriq.inc