diff options
author | Fabio Berton <fabio.berton@ossystems.com.br> | 2018-06-15 16:08:28 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-06-26 14:16:13 -0300 |
commit | ddba499819c5834270d966877f2d15befbc4492e (patch) | |
tree | e8a63274140b0cdd2ef950bb0ee8c95efdf834a0 /recipes-kernel/dtc | |
parent | dff0ff3ebee7e27840fcfa8d447e864e6c6b16fc (diff) | |
download | meta-freescale-ddba499819c5834270d966877f2d15befbc4492e.tar.gz |
dtc: Add recipe for version 1.4.5
We need dtc version 1.4.5 to build u-boot-imx 2017.03, current
version 1.4.6 raise a lot of errors and can't build older U-Boot
version.
Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Diffstat (limited to 'recipes-kernel/dtc')
-rw-r--r-- | recipes-kernel/dtc/dtc-145_git.bb | 12 | ||||
-rw-r--r-- | recipes-kernel/dtc/files/make_install.patch | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/dtc/dtc-145_git.bb b/recipes-kernel/dtc/dtc-145_git.bb new file mode 100644 index 00000000..afed62fd --- /dev/null +++ b/recipes-kernel/dtc/dtc-145_git.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | require recipes-kernel/dtc/dtc.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = " \ | ||
4 | file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
5 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c \ | ||
6 | " | ||
7 | |||
8 | SRCREV = "22a65c5331c22979d416738eb756b9541672e00d" | ||
9 | |||
10 | S = "${WORKDIR}/git" | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/recipes-kernel/dtc/files/make_install.patch b/recipes-kernel/dtc/files/make_install.patch new file mode 100644 index 00000000..ccf17b38 --- /dev/null +++ b/recipes-kernel/dtc/files/make_install.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Upstream-Status: Inappropriate [configuration] | ||
2 | |||
3 | Index: git/Makefile | ||
4 | =================================================================== | ||
5 | --- git.orig/Makefile | ||
6 | +++ git/Makefile | ||
7 | @@ -168,8 +168,8 @@ install-bin: all $(SCRIPTS) | ||
8 | install-lib: all | ||
9 | @$(VECHO) INSTALL-LIB | ||
10 | $(INSTALL) -d $(DESTDIR)$(LIBDIR) | ||
11 | - $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR) | ||
12 | - ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) | ||
13 | + $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) | ||
14 | + ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib)) | ||
15 | ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT) | ||
16 | $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR) | ||
17 | |||