[openwrt/openwrt] uboot-tools: remove uneeded syncconfig

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 18 04:22:16 PDT 2025


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ffaaae4320d3e1e19d2718affbc84a3d1462e590

commit ffaaae4320d3e1e19d2718affbc84a3d1462e590
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Thu Apr 17 13:20:06 2025 +0200

    uboot-tools: remove uneeded syncconfig
    
    During envtools conversion to the generic uboot-tools package, a syncconfig
    call was added to the configure step which was previously not there.
    
    We received multiple spourious reports that now envtools were failing to
    build [1], but it was not reproducible.
    
    However, it seems that this could easily be reproduced on MacOS 15 and
    somehow that syncconfig call is breaking build by Makefile.autoconf not
    being executed and thus no "include/config.h" is generated.
    
    So, since this call was not previously there and U-Boot will actually do
    syncconfig on its own when needed lets drop it.
    
    [1] https://github.com/openwrt/openwrt/commit/293d5f1366e099cc343a3fc8a6f936ab27bcad6a#commitcomment-154347516
    
    Link: https://github.com/openwrt/openwrt/pull/18515
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 package/boot/uboot-tools/Makefile | 1 -
 1 file changed, 1 deletion(-)

diff --git a/package/boot/uboot-tools/Makefile b/package/boot/uboot-tools/Makefile
index 9fa680c97c..f465537342 100644
--- a/package/boot/uboot-tools/Makefile
+++ b/package/boot/uboot-tools/Makefile
@@ -71,7 +71,6 @@ endef
 
 define Build/Configure
 	$(call Build/Compile/Default,tools-only_defconfig)
-	$(call Build/Compile/Default,syncconfig)
 	$(SED) 's/CONFIG_TOOLS_LIBCRYPTO=y/# CONFIG_TOOLS_LIBCRYPTO is not set/' $(PKG_BUILD_DIR)/.config
 	$(SED) 's/CONFIG_TOOLS_KWBIMAGE=y/# CONFIG_TOOLS_KWBIMAGE is not set/' $(PKG_BUILD_DIR)/.config
 endef




More information about the lede-commits mailing list