summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/dtc/dtc
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-11-03 08:35:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-07 14:05:37 +0000
commit953b45841fdcb90080cc72a98ddd14551f85e103 (patch)
treef76017dea648643f3be405506ffeb1a5ec15f887 /meta/recipes-kernel/dtc/dtc
parent35574646e73da6c73173512124f58ca81d3e7c64 (diff)
downloadpoky-953b45841fdcb90080cc72a98ddd14551f85e103.tar.gz
dtc: Add patch to correctly install shared libraries and links
(From OE-Core rev: 4c4143e0f0382118448c7c2a452dafac0db5130f) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/dtc/dtc')
-rw-r--r--meta/recipes-kernel/dtc/dtc/make_install.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc/make_install.patch b/meta/recipes-kernel/dtc/dtc/make_install.patch
new file mode 100644
index 0000000000..2f7d8091ce
--- /dev/null
+++ b/meta/recipes-kernel/dtc/dtc/make_install.patch
@@ -0,0 +1,15 @@
1Index: git/Makefile
2===================================================================
3--- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700
4+++ git/Makefile 2011-11-02 15:06:01.555104982 -0700
5@@ -161,8 +161,8 @@
6 $(INSTALL) -d $(DESTDIR)$(BINDIR)
7 $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR)
8 $(INSTALL) -d $(DESTDIR)$(LIBDIR)
9- $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)
10- ln -sf $(notdir $(LIBFDT_lib)) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
11+ $(INSTALL) $(LIBFDT_lib) $(DESTDIR)$(LIBDIR)/$(LIBFDT_soname)
12+ ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/$(notdir $(LIBFDT_lib))
13 ln -sf $(LIBFDT_soname) $(DESTDIR)$(LIBDIR)/libfdt.$(SHAREDLIB_EXT)
14 $(INSTALL) -m 644 $(LIBFDT_archive) $(DESTDIR)$(LIBDIR)
15 $(INSTALL) -d $(DESTDIR)$(INCLUDEDIR)