u-boot-fw-utils-nuvoton: use u-boot do_configure
Just like commit b0fe8fd9d0, we should perform do_configure as ragular
u-boot do to avoid env settings conflict.
Tested:
Build pass and config take effect.
Change-Id: I30ed1ab866db21c136a0677a9614585dcb759b93
Signed-off-by: Brian Ma <chma0@nuvoton.com>
diff --git a/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2021.04.bb b/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2021.04.bb
index 4f06ecf..e72a92f 100644
--- a/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2021.04.bb
+++ b/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2021.04.bb
@@ -1,7 +1,8 @@
require u-boot-common-nuvoton_${PV}.inc
+require recipes-bsp/u-boot/u-boot-configure.inc
SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
-DEPENDS = "mtd-utils bison-native"
+DEPENDS += "mtd-utils bison-native"
RDEPENDS:${PN} = "udev-nuvoton-mtd-partitions"
PROVIDES += "u-boot-fw-utils"
@@ -15,7 +16,6 @@
inherit uboot-config
do_compile () {
- oe_runmake ${UBOOT_MACHINE}
oe_runmake envtools
}
diff --git a/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2023.10.bb b/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2023.10.bb
index 4f06ecf..e72a92f 100644
--- a/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2023.10.bb
+++ b/meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2023.10.bb
@@ -1,7 +1,8 @@
require u-boot-common-nuvoton_${PV}.inc
+require recipes-bsp/u-boot/u-boot-configure.inc
SUMMARY = "U-Boot bootloader fw_printenv/setenv utilities"
-DEPENDS = "mtd-utils bison-native"
+DEPENDS += "mtd-utils bison-native"
RDEPENDS:${PN} = "udev-nuvoton-mtd-partitions"
PROVIDES += "u-boot-fw-utils"
@@ -15,7 +16,6 @@
inherit uboot-config
do_compile () {
- oe_runmake ${UBOOT_MACHINE}
oe_runmake envtools
}