diff options
author | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
---|---|---|
committer | Adrian Dudau <adrian.dudau@enea.com> | 2013-12-12 17:36:38 +0100 |
commit | 2a7348129a42f21095fcd62e47a035f78d254130 (patch) | |
tree | 544dc8019a8f8cb684ace8674193605e607f9964 /recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch | |
download | meta-enea-master.tar.gz |
Migrated from the internal git server on the dora-enea branch
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com>
Diffstat (limited to 'recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch')
-rw-r--r-- | recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch b/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch new file mode 100644 index 0000000..b74d512 --- /dev/null +++ b/recipes-kernel/linux/linux-bsc913x/bsc9132qds/0001-add-options-to-KBUILD_CFLAGS.patch | |||
@@ -0,0 +1,25 @@ | |||
1 | From: Jerry Pei <jerry.pei@enea.com> | ||
2 | Date: Tue, 10 Jul 2012 11:44:18 +0800 | ||
3 | Subject: [PATCH] add options to KBUILD_CFLAGS | ||
4 | |||
5 | Signed-off-by: Jerry Pei <jerry.pei@enea.com> | ||
6 | --- | ||
7 | Makefile | 2 ++ | ||
8 | 1 file changed, 2 insertions(+) | ||
9 | |||
10 | diff --git a/Makefile b/Makefile | ||
11 | index e19c848..b07ce1e 100644 | ||
12 | --- a/Makefile | ||
13 | +++ b/Makefile | ||
14 | @@ -526,6 +526,8 @@ endif # $(dot-config) | ||
15 | # Defaults vmlinux but it is usually overridden in the arch makefile | ||
16 | all: vmlinux | ||
17 | |||
18 | +KBUILD_CFLAGS += -Wno-unused-but-set-variable -Wno-error=array-bounds | ||
19 | + | ||
20 | ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE | ||
21 | KBUILD_CFLAGS += -Os | ||
22 | else | ||
23 | -- | ||
24 | 1.7.9.5 | ||
25 | |||