]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-fslc-fw-utils: Fix build
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 30 Nov 2017 13:24:38 +0000 (11:24 -0200)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 30 Nov 2017 13:34:42 +0000 (11:34 -0200)
There was a wrong include of u-boot.inc on this recipe which were
causing build errors, also it was using the old target to build the
environment tools.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-bsp/u-boot/u-boot-fslc-fw-utils_2017.11.bb

index 7c2864ed2875b46c234dcc577be17a872085359c..84ba445b8cc260cb15a772e4d2e7fdae8bcb8f0d 100644 (file)
@@ -1,9 +1,7 @@
-require recipes-bsp/u-boot/u-boot.inc
 require u-boot-fslc-common_${PV}.inc
 
 SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
-
-DEPENDS_append = " mtd-utils"
+DEPENDS = "mtd-utils"
 
 INSANE_SKIP_${PN} = "already-stripped"
 EXTRA_OEMAKE_class-target = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${CC} ${CFLAGS} ${LDFLAGS}" HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" V=1'
@@ -13,7 +11,7 @@ inherit uboot-config
 
 do_compile () {
     oe_runmake ${UBOOT_MACHINE}
-    oe_runmake env
+    oe_runmake envtools
 }
 
 do_install () {