diff options
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 @@ +require recipes-kernel/dtc/dtc.inc + +LIC_FILES_CHKSUM = " \ + file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ + file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c \ +" + +SRCREV = "22a65c5331c22979d416738eb756b9541672e00d" + +S = "${WORKDIR}/git" + +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 @@ +Upstream-Status: Inappropriate [configuration] + +Index: git/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -168,8 +168,8 @@ install-bin: all $(SCRIPTS) + install-lib: all + @$(VECHO) INSTALL-LIB + $(INSTALL) -d $(DESTDIR)$(LIBDIR) +- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR) +- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) ++ $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname) ++ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib)) + ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT) + $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR) + |