Update of /cvsroot/blob/blob
In directory usw-pr-cvs1:/tmp/cvs-serv21207
Modified Files:
configure.in acconfig.h
Log Message:
The configure framework for cramfs and jffs2. Doesn't trigger any extra
compiles, yet.
Index: configure.in
===================================================================
RCS file: /cvsroot/blob/blob/configure.in,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- configure.in 2002/01/12 01:45:57 1.36
+++ configure.in 2002/01/29 16:27:42 1.37
@@ -306,7 +306,17 @@
[md5_flag=$enable_md5],
[md5_flag=no])
+AC_ARG_ENABLE(jffs2,
+[ --enable-jffs2 Enable support for loading kernel from jffs2],
+[jffs2_flag=$enable_jffs2],
+[jffs2_flag=no])
+AC_ARG_ENABLE(cramfs,
+[ --enable-cramfs Enable support for loading kernel from cramfs],
+[cramfs_flag=$enable_cramfs],
+[cramfs_flag=no])
+
+
dnl Check if the user wants *all* features
AC_ARG_ENABLE(all-features,
[ --enable-all-features Enable all features],
@@ -319,6 +329,8 @@
debug_flag=yes
lcd_flag=yes
md5_flag=yes
+ jffs2_flag=yes
+ cramfs_flag=yes
fi
@@ -372,6 +384,17 @@
AC_DEFINE(CONFIG_MD5_SUPPORT)
fi
+dnl Check wether or not JFFS2 support is wanted
+if test "x$jffs2_flag" = "xyes" ; then
+ AC_MSG_WARN("JFFS2 support is only dummy code")
+ AC_DEFINE(CONFIG_JFFS2_SUPPORT)
+fi
+
+dnl Check wether or not cramfs support is wanted
+if test "x$cramfs_flag" = "xyes" ; then
+ AC_MSG_WARN("cramfs support is only dummy code")
+ AC_DEFINE(CONFIG_CRAMFS_SUPPORT)
+fi
dnl Check wether or not additional platform source code
dnl for is needed
@@ -480,5 +503,7 @@
echo "Debugging commands support ${debug_flag}"
echo "LCD support ${lcd_flag}"
echo "MD5 support ${md5_flag}"
+echo "JFFS2 support ${jffs2_flag}"
+echo "cramfs support ${cramfs_flag}"
echo "Run-time debug information ${blob_debug_flag}"
echo ""
Index: acconfig.h
===================================================================
RCS file: /cvsroot/blob/blob/acconfig.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- acconfig.h 2002/01/07 14:58:16 1.12
+++ acconfig.h 2002/01/29 16:27:42 1.13
@@ -53,6 +53,9 @@
/* Define the board name over here */
#undef BOARD_NAME
+/* Define the CPU type */
+#undef CPU
+
/* Define to enable run-time debug information */
#undef BLOB_DEBUG
@@ -101,8 +104,11 @@
/* Define if MD5 support is wanted */
#undef CONFIG_MD5_SUPPORT
-/* Define the CPU type */
-#undef CPU
+/* Define if JFFS2 support is wanted */
+#undef CONFIG_JFFS2_SUPPORT
+
+/* Define if cramfs support is wanted */
+#undef CONFIG_CRAMFS_SUPPORT
@BOTTOM@
|