diff options
author | Brian Ma <chma0@nuvoton.com> | 2024-06-28 06:00:43 +0300 |
---|---|---|
committer | Brian Ma <chma0@nuvoton.com> | 2024-07-02 04:01:13 +0300 |
commit | 24adf7e49a73aa85ccc2e0f97b334c6fefac3412 (patch) | |
tree | 05b78dcb8efc2e8d375ddabab32e445c5e16a930 | |
parent | 99d902f88750000cee29d0ccbb509bdbc0ac1fd2 (diff) | |
download | openbmc-24adf7e49a73aa85ccc2e0f97b334c6fefac3412.tar.xz |
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>
-rw-r--r-- | meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2021.04.bb | 4 | ||||
-rw-r--r-- | meta-nuvoton/recipes-bsp/u-boot/u-boot-fw-utils-nuvoton_2023.10.bb | 4 |
2 files changed, 4 insertions, 4 deletions
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 4f06ecf2a0..e72a92fd59 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 @@ EXTRA_OEMAKE:class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" 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 4f06ecf2a0..e72a92fd59 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 @@ EXTRA_OEMAKE:class-cross = 'ARCH=${TARGET_ARCH} CC="${CC} ${CFLAGS} ${LDFLAGS}" inherit uboot-config do_compile () { - oe_runmake ${UBOOT_MACHINE} oe_runmake envtools } |