|
From: Serge L. <sma...@us...> - 2009-01-10 00:36:34
|
Update of /cvsroot/devil-linux/build/scripts In directory fdv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17143 Modified Files: e100 e1000 Log Message: - added option for choosing Intel driver for e100/e1000 modules Index: e100 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/e100,v retrieving revision 1.14 retrieving revision 1.15 diff -u -d -r1.14 -r1.15 --- e100 11 Sep 2004 16:16:17 -0000 1.14 +++ e100 10 Jan 2009 00:36:27 -0000 1.15 @@ -23,16 +23,18 @@ # source functions and config source $MYDIR/settings -test ! "$CONFIG_LINUX_VERSION" = "2.4" && exit 0 - case $1 in build ) - make $PMAKE -C src KSRC=$KERNELDIR CC=gcc || exit 1 - strip_debug + if [ "$CONFIG_INTEL_E100" = "y" ]; then + make $PMAKE -C src KSRC=$KERNELDIR CC=gcc || exit 1 + strip_debug + fi ;; install ) - make install -C src INSTALL_MOD_PATH=$CDDIR/ KSRC=$KERNELDIR MANDIR=/usr/share/man CC=gcc || exit 1 + if [ "$CONFIG_INTEL_E100" = "y" ]; then + make install -C src INSTALL_MOD_PATH=$CDDIR/ KSRC=$KERNELDIR MANDIR=/usr/share/man CC=gcc || exit 1 + fi ;; * ) Index: e1000 =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/e1000,v retrieving revision 1.16 retrieving revision 1.17 diff -u -d -r1.16 -r1.17 --- e1000 7 Jan 2009 06:21:11 -0000 1.16 +++ e1000 10 Jan 2009 00:36:27 -0000 1.17 @@ -25,12 +25,16 @@ case $1 in build ) - make $PMAKE -C src KSRC=$KERNELDIR CC=gcc || exit 1 - strip_debug + if [ "$CONFIG_INTEL_E1000" = "y" ]; then + make $PMAKE -C src KSRC=$KERNELDIR CC=gcc || exit 1 + strip_debug + fi ;; install ) - make install -C src INSTALL_MOD_PATH=$CDDIR/ KSRC=$KERNELDIR MANDIR=/usr/share/man CC=gcc || exit 1 + if [ "$CONFIG_INTEL_E1000" = "y" ]; then + make install -C src INSTALL_MOD_PATH=$CDDIR/ KSRC=$KERNELDIR MANDIR=/usr/share/man CC=gcc || exit 1 + fi ;; * ) |