[PATCH] Fix typo, "CFG_LONGHELP" -> "CONFIG_LONGHELP".

Robert P. J. Day rpjday at crashcourse.ca
Tue Dec 22 09:51:19 EST 2009


Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>

---

  while this fixes an obvious typo in this file, it's really just a
band-aid since this header file sets *numerous* CONFIG_-prefixed
macros, which it shouldn't be doing.  any macros prefixed with CONFIG_
should be reserved for the Kconfig namespace, so it wouldn't hurt to
apply this patch, but it's clear that this file needs a lot more work
at some point in the future.


diff --git a/board/eco920/config.h b/board/eco920/config.h
index 3fb8beb..6f8f8ea 100644
--- a/board/eco920/config.h
+++ b/board/eco920/config.h
@@ -112,7 +112,7 @@

 #define CFG_BAUDRATE_TABLE	{115200 , 19200, 38400, 57600, 9600 }

-#define	CFG_LONGHELP				/* undef to save memory		*/
+#define	CONFIG_LONGHELP				/* undef to save memory		*/
 #define CFG_PROMPT		"barebox> "	/* Monitor Command Prompt */
 #define CFG_CBSIZE		1024		/* Console I/O Buffer Size */
 #define CFG_MAXARGS		32		/* max number of command args */

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================



More information about the barebox mailing list