|
From: Stefan E. <se...@us...> - 2001-10-09 17:49:38
|
Update of /cvsroot/blob/blob
In directory usw-pr-cvs1:/tmp/cvs-serv12624
Modified Files:
acconfig.h configure.in
Log Message:
- added LCD stuff
- can conditionally enabled with --enable-lcd
this defines CONFIG_LCD_SUPPORT, and compiles in lcd.c. One has to
add LCD settings for his platform for this to work.
- added platform specific module for diag.
Index: acconfig.h
===================================================================
RCS file: /cvsroot/blob/blob/acconfig.h,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- acconfig.h 2001/09/27 21:38:17 1.4
+++ acconfig.h 2001/10/09 17:49:36 1.5
@@ -89,6 +89,9 @@
/* Define if your system uses serial port 3 */
#undef USE_SERIAL3
+/* Define if LCD support is wanted */
+#undef CONFIG_LCD_SUPPORT
+
@BOTTOM@
#endif
Index: configure.in
===================================================================
RCS file: /cvsroot/blob/blob/configure.in,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- configure.in 2001/10/07 20:14:00 1.15
+++ configure.in 2001/10/09 17:49:36 1.16
@@ -124,6 +124,7 @@
AC_MSG_RESULT(PTSystem3)
AC_DEFINE(PT_SYSTEM3)
AC_DEFINE(USE_SERIAL1)
+ DIAG_PLATFORM_OBJ="system3.o"
use_cpu="sa1110"
;;
*)
@@ -191,6 +192,11 @@
[debug_flag=$enable_debug],
[debug_flag=no])
+AC_ARG_ENABLE(lcd,
+[ --enable-lcd Enable lcd support ],
+[lcd_flag=$enable_lcd],
+[lcd_flag=no])
+
dnl Check if the user wants *all* features
AC_ARG_ENABLE(all-features,
@@ -202,6 +208,7 @@
clock_scaling_flag=yes
chkmem_flag=yes
debug_flag=yes
+ lcd_flag=yes
fi
@@ -236,9 +243,21 @@
AC_SUBST(DEBUG)
+dnl Check wether or not lcd support code is wanted
+if test "x$lcd_flag" = "xyes" ; then
+ LCD="lcd.o"
+ AC_DEFINE(CONFIG_LCD_SUPPORT)
+fi
+
+AC_SUBST(LCD)
+
+dnl Check wether or not additional platform source code
+dnl for diag is needed
+AC_SUBST(DIAG_PLATFORM_OBJ)
+
dnl Check for extra debug info
AC_ARG_ENABLE(blob-debug,
[ --enable-blob-debug Enable run-time debug information],
@@ -319,5 +338,6 @@
echo "Clock scaling support ${clock_scaling_flag}"
echo "Memory test support ${chkmem_flag}"
echo "Debugging commands support ${debug_flag}"
+echo "LCD support ${lcd_flag}"
echo "Run-time debug information ${blob_debug_flag}"
echo ""
|