diff options
author | John Klug <john.klug@multitech.com> | 2020-11-11 16:17:52 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-11-11 16:17:52 -0600 |
commit | 4bb6f26b05450777d14aa96e10783066c2503dc2 (patch) | |
tree | 3ed6c4bb86736d28926fd37a3c2b4eb81de44c82 /recipes-devtools/dtc/dtc_1.4.7.bb | |
download | meta-multitech-atmel-5.3.0a.tar.gz meta-multitech-atmel-5.3.0a.tar.bz2 meta-multitech-atmel-5.3.0a.zip |
Diffstat (limited to 'recipes-devtools/dtc/dtc_1.4.7.bb')
-rw-r--r-- | recipes-devtools/dtc/dtc_1.4.7.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-devtools/dtc/dtc_1.4.7.bb b/recipes-devtools/dtc/dtc_1.4.7.bb new file mode 100644 index 0000000..80b505f --- /dev/null +++ b/recipes-devtools/dtc/dtc_1.4.7.bb @@ -0,0 +1,28 @@ +SUMMARY = "Device Tree Compiler and its library" +HOMEPAGE = "https://git.kernel.org/pub/scm/utils/dtc/dtc.git/about/" +LICENSE = "BSD & GPLv2+" +LIC_FILES_CHKSUM = "file://README.license;md5=89fd4e63f2aea733216e660f81b3c118" + +SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git" +SRCREV = "78e113e81c9d33d0f33704b187a46399d5a75419" +INC_PR = "r1" +PR = "${INC_PR}.0" +DEPENDS = "flex bison swig" +RDEPENDS_dtc = "libfdt" +S = "${WORKDIR}/git" +PACKAGES =+ "libfdt" +FILES_libfdt = "${libdir}/libfdt.so.[0-9] ${libdir}/libfdt-*.so" +RPROVIDES_libfdt = "libfdt" + +FILES_${PN}-dev += "${libdir}/libfdt.so.[0-9].*" + +do_compile() { + oe_runmake +} + +do_install() { + echo "DESTDIR is ${D}" + oe_runmake install-lib DESTDIR=${D} HOME="/" LIBDIR="${libdir}" + install -d ${D}/${includedir}/libfdt + install ${S}/libfdt/*.h ${D}/${includedir}/libfdt +} |