
21 Aug
2004
21 Aug
'04
12:01 p.m.
Hi,
Running ./MAKEALL 8xx fails for several (all ?) boards using CFG_CMD_JFFS2. Problem is in defining chpart CMD after its corresponding do_jffs2_chpart() function has not been defined.
CHANGELOG: Patch by Hinko Kocevar, 21 Aug 2004: Fix build failure when CFG_CMD_JFFS2 is used
regards, himba
--- u-boot/common/cmd_jffs2.c 2004-08-03 01:22:59.000000000 +0200 +++ lcd-u-boot/common/cmd_jffs2.c 2004-08-21 10:42:32.000000000 +0200 @@ -282,10 +282,12 @@ " - list files in a directory.\n" );
+#ifndef CFG_JFFS_SINGLE_PART U_BOOT_CMD( chpart, 2, 0, do_jffs2_chpart, "chpart\t- change active partition\n", " - change active partition\n" ); +#endif /* CFG_JFFS_SINGLE_PART */
#endif /* CFG_CMD_JFFS2 */