]> code.ossystems Code Review - openembedded-core.git/commitdiff
u-boot-mkimage: Add dependency on dtc
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 22 Feb 2018 20:54:57 +0000 (17:54 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 3 Mar 2018 17:08:28 +0000 (17:08 +0000)
The dtc is used when generating images which use Device Tree and we
must use the OE version to avoid relying on the host one.

Reported-by: Renato Caldas <rm.santos.caldas@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb

index f1fc56449225878700fee43990396a0a8be284a3..1c008be96e7f6221c12470b3398b13b710aa3f63 100644 (file)
@@ -24,4 +24,6 @@ do_install () {
        ln -sf uboot-mkimage ${D}${bindir}/mkimage
 }
 
+RDEPENDS_${PN} += "dtc"
+
 BBCLASSEXTEND = "native nativesdk"