u-boot-mkimage: Add dependency on dtc
PATCH 1/1 u-boot-mkimage: Add dependency on dtc
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.
---
meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb +1 -1
@@ -1,7 +1,7 @@ require u-boot-common_${PV}.inc SUMMARY = "U-Boot bootloader image creation tool" -DEPENDS = "openssl" +DEPENDS = "openssl dtc" EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1' EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
Signature · 1 line
2.16.2
Shouldn't this be dtc-native?
Ross
Quoted 37 lines · Otavio Salvador
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 <[email protected]>Signed-off-by Otavio Salvador <[email protected]>---
meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/recipes-bsp/u-boot/u-boot-mkimage_2018.01.bb +1
-1@@ -1,7 +1,7 @@ require u-boot-common_${PV}.inc SUMMARY = "U-Boot bootloader image creation tool" -DEPENDS = "openssl" +DEPENDS = "openssl dtc" EXTRA_OEMAKE_class-target = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC}${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
EXTRA_OEMAKE_class-native = 'CC="${BUILD_CC} ${BUILD_CFLAGS}
${BUILD_LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" STRIP=true V=1'
--
2.16.2--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Quoted 1 line · Ross
Shouldn't this be dtc-native?
Good catch; in fact for native it was right but for other variants, it was not. Fixed in v2.
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750