Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23555/scripts
Modified Files:
prepare
Log Message:
automatically set i2c and sensor options
Index: prepare
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/prepare,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- prepare 31 Dec 2004 00:20:54 -0000 1.53
+++ prepare 31 Dec 2004 00:30:49 -0000 1.54
@@ -158,6 +158,11 @@
set_all_kernel_options net/ipv4/netfilter
set_all_kernel_options net/ipv6/netfilter
+ if [ "$CONFIG_LM_SENSORS" = "y" ]; then
+ set_all_kernel_options drivers/i2c
+ else
+ set_kernel_option CONFIG_I2C n
+ fi
make oldconfig || exit 1
if [ "$CONFIG_LINUX_VERSION" = "2.4" ]; then
|