diff options
-rw-r--r-- | meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | 16 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.bb | 1 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.inc | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch new file mode 100644 index 0000000000..805bf58796 --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc/remove_space_opt.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Remove the -Os flag | ||
2 | |||
3 | Signed-off-by: Saul Wold <sgw@linux.intel.com> | ||
4 | Index: git/Makefile | ||
5 | =================================================================== | ||
6 | --- git.orig/Makefile | ||
7 | +++ git/Makefile | ||
8 | @@ -18,7 +18,7 @@ CONFIG_LOCALVERSION = | ||
9 | CPPFLAGS = -I libfdt | ||
10 | WARNINGS = -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \ | ||
11 | -Wstrict-prototypes -Wmissing-prototypes | ||
12 | -CFLAGS = -g -Os -fPIC -Werror $(WARNINGS) | ||
13 | +CFLAGS = -g -fPIC -Werror $(WARNINGS) | ||
14 | |||
15 | BISON = bison | ||
16 | LEX = flex | ||
diff --git a/meta/recipes-kernel/dtc/dtc_git.bb b/meta/recipes-kernel/dtc/dtc_git.bb index 21f71e6e6a..1cca32cedb 100644 --- a/meta/recipes-kernel/dtc/dtc_git.bb +++ b/meta/recipes-kernel/dtc/dtc_git.bb | |||
@@ -4,3 +4,4 @@ LICENSE="GPLv2|BSD" | |||
4 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | 4 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ |
5 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" | 5 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" |
6 | 6 | ||
7 | SRC_URI += " file://remove_space_opt.patch" | ||
diff --git a/meta/recipes-kernel/dtc/dtc_git.inc b/meta/recipes-kernel/dtc/dtc_git.inc index 9bcd636849..96542f999c 100644 --- a/meta/recipes-kernel/dtc/dtc_git.inc +++ b/meta/recipes-kernel/dtc/dtc_git.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git" | 1 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git" |
2 | PV = "1.2.0+git${SRCPV}" | 2 | PV = "1.2.0+git${SRCPV}" |
3 | PR = "r1" | 3 | PR = "r2" |
4 | 4 | ||
5 | S = "${WORKDIR}/git" | 5 | S = "${WORKDIR}/git" |