U-Boot project rebuild throws error

When using DEL-5.9.6.2 rebuilding an U-Boot project you will get:

make -k rebuild
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
make[1]: *** No rule to make target `ccardwmx28js_config'.
make: *** [uboot_distclean] Error 2
System not configured - see README
make[1]: *** [all] Error 1
make: *** [uboot] Error 2
/usr/local/DigiEL-5.9/scripts/del_cmds.sh: line 282: error: command not found
MKIMAGE /home/techsupport/workspace_59/ccwmx28/images/u-boot-ccardwmx28js-ivt.sb
make: Target `rebuild' not remade because of errors.


We will release a patch with DEL-5.9.7.x (or higher) to fix this. Until this release you may apply the following patch manually. Before you have to delete your U-Boot project and create a new project after applying the patch:

diff --git a/rules/u-boot.in b/rules/u-boot.in index 13321677f0a5..7e455e85479e 100644
--- a/rules/u-boot.in
+++ b/rules/u-boot.in
@@ -23,7 +23,7 @@ uboot_clean:

uboot_distclean:
    $(Q) $(MAKE) -C $(DEL_PROJ_DIR)/build/U-Boot distclean
-   $(Q) $(MAKE) -C $(DEL_PROJ_DIR)/build/U-Boot $(DEL_PLATFORM)_config
+   $(Q) $(MAKE) -C $(DEL_PROJ_DIR)/build/U-Boot $(DEL_UBOOT_CFG)

Last updated: Oct 21, 2024

Filed Under

Embedded

Recently Viewed

No recently viewed articles

Did you find this article helpful?