new file mode 100644
@@ -0,0 +1,26 @@
+From 65fa442fb787b03aa28920cf54a4d1e6da10bb35 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 4 May 2018 12:43:49 -0700
+Subject: [PATCH] mips64: Disable attribute-alias warning
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ arch/mips/kernel/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/arch/mips/kernel/Makefile b/arch/mips/kernel/Makefile
+index eb92e52eb3db..795aa4c9ef7f 100644
+--- a/arch/mips/kernel/Makefile
++++ b/arch/mips/kernel/Makefile
+@@ -4,6 +4,8 @@
+ #
+ CFLAGS_signal.o += $(call cc-disable-warning, attribute-alias)
+ CFLAGS_syscall.o += $(call cc-disable-warning, attribute-alias)
++CFLAGS_linux32.o += $(call cc-disable-warning, attribute-alias)
++CFLAGS_signal32.o += $(call cc-disable-warning, attribute-alias)
+
+ extra-y := head.o vmlinux.lds
+
+--
+2.17.0
+
@@ -27,6 +27,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA
SRC_URI += "file://0001-powerpc-Disable-attribute-alias-warnings-from-gcc8.patch \
file://0002-powerpc-ptrace-Disable-array-bounds-warning-with-gcc.patch \
file://0001-mips-Disable-attribute-alias-warnings.patch \
+ file://0001-mips64-Disable-attribute-alias-warning.patch \
"
LINUX_VERSION ?= "4.15.13"
Signed-off-by: Khem Raj <raj.khem@gmail.com> --- ...ps64-Disable-attribute-alias-warning.patch | 26 +++++++++++++++++++ meta/recipes-kernel/linux/linux-yocto_4.15.bb | 1 + 2 files changed, 27 insertions(+) create mode 100644 meta/recipes-kernel/linux/files/0001-mips64-Disable-attribute-alias-warning.patch -- 2.17.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core