diff options
Diffstat (limited to 'meta/recipes-kernel/dtc')
-rw-r--r-- | meta/recipes-kernel/dtc/dtc.inc | 3 | ||||
-rw-r--r-- | meta/recipes-kernel/dtc/dtc/make_install.patch | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc index 0f45d5f08e..9b4b7682b8 100644 --- a/meta/recipes-kernel/dtc/dtc.inc +++ b/meta/recipes-kernel/dtc/dtc.inc | |||
@@ -7,10 +7,11 @@ DEPENDS = "flex-native bison-native" | |||
7 | inherit autotools | 7 | inherit autotools |
8 | 8 | ||
9 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \ | 9 | SRC_URI = "git://www.jdl.com/software/dtc.git;protocol=git \ |
10 | file://make_install.patch \ | ||
10 | " | 11 | " |
11 | 12 | ||
12 | EXTRA_OEMAKE='PREFIX="${prefix}"' | 13 | EXTRA_OEMAKE='PREFIX="${prefix}"' |
13 | INC_PR = "r1" | 14 | INC_PR = "r2" |
14 | 15 | ||
15 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
16 | 17 | ||
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 @@ | |||
1 | Index: 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) | ||