Update of /cvsroot/blob/blob
In directory sc8-pr-cvs1:/tmp/cvs-serv19512
Modified Files:
acconfig.h configure.in
Log Message:
- added --enable-network configure option.
Index: acconfig.h
===================================================================
RCS file: /cvsroot/blob/blob/acconfig.h,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- acconfig.h 26 Nov 2002 18:52:52 -0000 1.23
+++ acconfig.h 18 Mar 2003 17:38:14 -0000 1.24
@@ -143,6 +143,9 @@
/* Define if zImage support is wanted */
#undef CONFIG_ZIMAGE_SUPPORT
+/* Define if network support is wanted */
+#undef CONFIG_NETWORK_SUPPORT
+
@BOTTOM@
#endif
Index: configure.in
===================================================================
RCS file: /cvsroot/blob/blob/configure.in,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -d -r1.60 -r1.61
--- configure.in 13 Feb 2003 01:10:52 -0000 1.60
+++ configure.in 18 Mar 2003 17:38:14 -0000 1.61
@@ -325,6 +325,7 @@
AC_DEFINE(PT_SYSTEM3)
BLOB_PLATFORM_OBJS="system3.o"
BLOB_LED_DRIVER_OBJS="led-sa11x0.o"
+ BLOB_NETWORK_DRIVER_OBJS="smc9196.o"
BLOB_LED_STARTCODE="ledasm-sa11x0.o"
BLOB_FLASH_OBJS="intel32.o"
DIAG_PLATFORM_OBJS="system3.o"
@@ -399,6 +400,7 @@
AC_SUBST(BLOB_SERIAL_DRIVER_OBJS)
AC_SUBST(BLOB_LED_STARTCODE)
AC_SUBST(BLOB_LED_DRIVER_OBJS)
+AC_SUBST(BLOB_NETWORK_DRIVER_OBJS)
@@ -502,6 +504,11 @@
[zimage_flag=$enable_zimage],
[zimage_flag=no])
+AC_ARG_ENABLE(network,
+[ --enable-network Enable networking (bootp/tftp)],
+[network_flag=$enable_network],
+[network_flag=no])
+
@@ -521,6 +528,7 @@
jffs2_flag=yes
cramfs_flag=yes
zimage_flag=yes
+ network_flag=yes
fi
@@ -627,6 +635,13 @@
AC_SUBST(BLOB_ZIMAGE_OBJS)
+dnl Check wether or not network support is wanted
+if test "x$network_flag" = "xyes" ; then
+ BLOB_NETWORK_OBJS="bootp.o arp.o tftp.o ip_bits.o"
+ AC_DEFINE(CONFIG_NETWORK_SUPPORT)
+fi
+AC_SUBST(BLOB_NETWORK_OBJS)
+
dnl Check for extra debug info
@@ -706,6 +721,7 @@
include/Makefile
include/blob/Makefile
include/blob/arch/Makefile
+include/net/Makefile
src/Makefile
src/blob/Makefile
src/commands/Makefile
@@ -738,6 +754,7 @@
echo "JFFS2 support ${jffs2_flag}"
echo "cramfs support ${cramfs_flag}"
echo "zImage support ${zimage_flag}"
+echo "Network support ${network_flag}"
echo "Blob commands: ${BLOB_COMMANDS}"
echo "Run-time debug information ${blob_debug_flag}"
echo ""
|