diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
| commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
| tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-kernel/dtc | |
| download | poky-daisy-140929.tar.gz | |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-kernel/dtc')
| -rw-r--r-- | meta/recipes-kernel/dtc/dtc.inc | 18 | ||||
| -rw-r--r-- | meta/recipes-kernel/dtc/dtc/make_install.patch | 17 | ||||
| -rw-r--r-- | meta/recipes-kernel/dtc/dtc_git.bb | 11 |
3 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc new file mode 100644 index 0000000000..3eca25fe41 --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc.inc | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | SUMMARY = "Device Tree Compiler" | ||
| 2 | DESCRIPTION = "The Device Tree Compiler is a tool used to manipulate the Open-Firmware-like device tree used by PowerPC kernels." | ||
| 3 | SECTION = "bootloader" | ||
| 4 | LICENSE = "GPLv2 | BSD" | ||
| 5 | DEPENDS = "flex-native bison-native" | ||
| 6 | |||
| 7 | inherit autotools-brokensep | ||
| 8 | |||
| 9 | SRC_URI = "git://www.jdl.com/software/dtc.git \ | ||
| 10 | file://make_install.patch \ | ||
| 11 | " | ||
| 12 | |||
| 13 | EXTRA_OEMAKE='PREFIX="${prefix}" LIBDIR="${libdir}"' | ||
| 14 | |||
| 15 | S = "${WORKDIR}/git" | ||
| 16 | |||
| 17 | PACKAGES =+ "${PN}-misc" | ||
| 18 | FILES_${PN}-misc = "${bindir}/convert-dtsv0 ${bindir}/ftdump ${bindir}/dtdiff" | ||
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..1120617e7b --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc/make_install.patch | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | Upstream-Status: Inappropriate [configuration] | ||
| 2 | |||
| 3 | Index: git/Makefile | ||
| 4 | =================================================================== | ||
| 5 | --- git.orig/Makefile 2011-11-02 14:52:17.243104779 -0700 | ||
| 6 | +++ git/Makefile 2011-11-02 15:06:01.555104982 -0700 | ||
| 7 | @@ -161,8 +161,8 @@ | ||
| 8 | $(INSTALL) -d $(DESTDIR)$(BINDIR) | ||
| 9 | $(INSTALL) $(BIN) $(SCRIPTS) $(DESTDIR)$(BINDIR) | ||
| 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 | $(INSTALL) -d $(DESTDIR)$(INCLUDEDIR) | ||
diff --git a/meta/recipes-kernel/dtc/dtc_git.bb b/meta/recipes-kernel/dtc/dtc_git.bb new file mode 100644 index 0000000000..0bd3acf6c0 --- /dev/null +++ b/meta/recipes-kernel/dtc/dtc_git.bb | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | require dtc.inc | ||
| 2 | |||
| 3 | LIC_FILES_CHKSUM = "file://GPL;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
| 4 | file://libfdt/libfdt.h;beginline=3;endline=52;md5=fb360963151f8ec2d6c06b055bcbb68c" | ||
| 5 | |||
| 6 | SRCREV = "65cc4d2748a2c2e6f27f1cf39e07a5dbabd80ebf" | ||
| 7 | PV = "1.4.0+git${SRCPV}" | ||
| 8 | |||
| 9 | S = "${WORKDIR}/git" | ||
| 10 | |||
| 11 | BBCLASSEXTEND = "native nativesdk" | ||
