Update of /cvsroot/blob/blob
In directory usw-pr-cvs1:/tmp/cvs-serv2650
Modified Files:
acconfig.h configure.in
Log Message:
add zImage load_kernel support
Index: acconfig.h
===================================================================
RCS file: /cvsroot/blob/blob/acconfig.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- acconfig.h 23 Apr 2002 12:36:19 -0000 1.18
+++ acconfig.h 27 Apr 2002 06:55:09 -0000 1.19
@@ -125,6 +125,9 @@
/* Define if cramfs support is wanted */
#undef CONFIG_CRAMFS_SUPPORT
+/* Define if zImage support is wanted */
+#undef CONFIG_ZIMAGE_SUPPORT
+
@BOTTOM@
#endif
Index: configure.in
===================================================================
RCS file: /cvsroot/blob/blob/configure.in,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- configure.in 26 Apr 2002 07:12:38 -0000 1.51
+++ configure.in 27 Apr 2002 06:55:09 -0000 1.52
@@ -388,6 +388,11 @@
[cramfs_flag=$enable_cramfs],
[cramfs_flag=no])
+AC_ARG_ENABLE(zimage,
+[ --enable-zimage Enable support for loading zImage directly from flash],
+[zimage_flag=$enable_zimage],
+[zimage_flag=no])
+
@@ -406,6 +411,7 @@
uucodec_flag=yes
jffs2_flag=yes
cramfs_flag=yes
+ zimage_flag=yes
fi
@@ -504,6 +510,14 @@
AC_SUBST(BLOB_CRAMFS_OBJS)
+dnl Check wether or not zImage support is wanted
+if test "x$zimage_flag" = "xyes" ; then
+ BLOB_ZIMAGE_OBJS="zImage.o"
+ AC_DEFINE(CONFIG_ZIMAGE_SUPPORT)
+fi
+
+AC_SUBST(BLOB_ZIMAGE_OBJS)
+
dnl Check for extra debug info
@@ -610,6 +624,7 @@
echo "UU Codec support ${uucodec_flag}"
echo "JFFS2 support ${jffs2_flag}"
echo "cramfs support ${cramfs_flag}"
+echo "zImage support ${zimage_flag}"
echo "Blob commands: ${BLOB_COMMANDS}"
echo "Run-time debug information ${blob_debug_flag}"
echo ""
|