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 --- .../0001-add-options-to-KBUILD_CFLAGS.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0001-add-options-to-KBUILD_CFLAGS.patch (limited to 'recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0001-add-options-to-KBUILD_CFLAGS.patch') diff --git a/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0001-add-options-to-KBUILD_CFLAGS.patch b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0001-add-options-to-KBUILD_CFLAGS.patch new file mode 100644 index 0000000..b74d512 --- /dev/null +++ b/recipes-kernel/linux/linux-bsc913x/bsc9131rdb/0001-add-options-to-KBUILD_CFLAGS.patch @@ -0,0 +1,25 @@ +From: Jerry Pei +Date: Tue, 10 Jul 2012 11:44:18 +0800 +Subject: [PATCH] add options to KBUILD_CFLAGS + +Signed-off-by: Jerry Pei +--- + Makefile | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/Makefile b/Makefile +index e19c848..b07ce1e 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 -Wno-error=array-bounds ++ + ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE + KBUILD_CFLAGS += -Os + else +-- +1.7.9.5 + -- cgit v1.2.3-54-g00ecf