diff options
-rw-r--r-- | recipes-kernel/linux/linux-qoriq/0001-fix-gcc-8-build-error-for-linux-4.9.patch | 25 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-qoriq_4.9.bb | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/recipes-kernel/linux/linux-qoriq/0001-fix-gcc-8-build-error-for-linux-4.9.patch b/recipes-kernel/linux/linux-qoriq/0001-fix-gcc-8-build-error-for-linux-4.9.patch new file mode 100644 index 00000000..facf96da --- /dev/null +++ b/recipes-kernel/linux/linux-qoriq/0001-fix-gcc-8-build-error-for-linux-4.9.patch @@ -0,0 +1,25 @@ +From 7370e3004d56882652cb6d20b54c19b48b87f8a5 Mon Sep 17 00:00:00 2001 +From: Chunrong Guo <chunrong.guo@nxp.com> +Date: Thu, 5 Jul 2018 15:43:19 +0800 +Subject: [PATCH] fix gcc-8 build error + +Signed-off-by: BJ DevOps Team <bjdevops@NXP1.onmicrosoft.com> +--- + Makefile | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/Makefile b/Makefile +index 7d06dba..fb763a5 100644 +--- a/Makefile ++++ b/Makefile +@@ -395,6 +395,7 @@ LINUXINCLUDE += $(filter-out $(LINUXINCLUDE),$(USERINCLUDE)) + KBUILD_AFLAGS := -D__ASSEMBLY__ + KBUILD_CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \ + -fno-strict-aliasing -fno-common \ ++ -Wno-packed-not-aligned -Wno-tautological-compare \ + -Werror-implicit-function-declaration \ + -Wno-format-security \ + -std=gnu89 +-- +1.8.3.1 + diff --git a/recipes-kernel/linux/linux-qoriq_4.9.bb b/recipes-kernel/linux/linux-qoriq_4.9.bb index f6d29429..7e920dd7 100644 --- a/recipes-kernel/linux/linux-qoriq_4.9.bb +++ b/recipes-kernel/linux/linux-qoriq_4.9.bb @@ -7,8 +7,9 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/linux;nobranch=1 \ + file://0001-fix-gcc-8-build-error-for-linux-4.9.patch \ " -SRCREV = "58c55688e1beaad66bd5c2565dc699cc9862e25a" +SRCREV = "c4881840f02f6070dede14a698e6feedd586be9b" S = "${WORKDIR}/git" |