From 2a7348129a42f21095fcd62e47a035f78d254130 Mon Sep 17 00:00:00 2001 From: Adrian Dudau Date: Thu, 12 Dec 2013 17:36:38 +0100 Subject: initial commit of Enea Linux 3.1 Migrated from the internal git server on the dora-enea branch Signed-off-by: Adrian Dudau --- .../linux/files/add-no-unused-but-set-variable.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 recipes-kernel/linux/files/add-no-unused-but-set-variable.patch (limited to 'recipes-kernel/linux/files/add-no-unused-but-set-variable.patch') diff --git a/recipes-kernel/linux/files/add-no-unused-but-set-variable.patch b/recipes-kernel/linux/files/add-no-unused-but-set-variable.patch new file mode 100644 index 0000000..5133529 --- /dev/null +++ b/recipes-kernel/linux/files/add-no-unused-but-set-variable.patch @@ -0,0 +1,13 @@ +diff --git a/Makefile b/Makefile +index e821f72..cb2fcba 100644 +--- a/Makefile ++++ b/Makefile +@@ -526,6 +526,8 @@ endif # $(dot-config) + # Defaults vmlinux but it is usually overridden in the arch makefile + all: vmlinux + ++KBUILD_CFLAGS += -Wno-unused-but-set-variable ++ + ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE + KBUILD_CFLAGS += -Os + else -- cgit v1.2.3-54-g00ecf