From: Ron F. <ro...@us...> - 2007-02-02 14:54:16
|
Update of /cvsroot/nscldaq/clients/btdriver2.6 In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18839/btdriver2.6 Modified Files: DriverBuild.sh Makefile.am Log Message: Adjust the configuration to locate kernel headers/sources for the driver builds. Index: Makefile.am =================================================================== RCS file: /cvsroot/nscldaq/clients/btdriver2.6/Makefile.am,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile.am 1 Feb 2007 23:49:42 -0000 1.2 --- Makefile.am 2 Feb 2007 14:54:13 -0000 1.3 *************** *** 1,5 **** SUBDIRS=lib all-local: ! ./DriverBuild.sh SMP=$(SMP) install-data-local: --- 1,5 ---- SUBDIRS=lib all-local: ! ./DriverBuild.sh $(KERNEL_SRC) install-data-local: Index: DriverBuild.sh =================================================================== RCS file: /cvsroot/nscldaq/clients/btdriver2.6/DriverBuild.sh,v retrieving revision 8.4 retrieving revision 8.5 diff -C2 -d -r8.4 -r8.5 *** DriverBuild.sh 1 Feb 2007 23:49:42 -0000 8.4 --- DriverBuild.sh 2 Feb 2007 14:54:13 -0000 8.5 *************** *** 16,20 **** # ! SMP=$1 version="$(uname -r)" --- 16,20 ---- # ! Linuxsrc=$1 version="$(uname -r)" *************** *** 24,35 **** # Figure out which it is: ! if [ -d $Debiansrc ] then - Linuxsrc="$Debiansrc" - fi ! if [ -d $RedHatsrc ] ! then ! Linuxsrc="RedHatsrc" fi --- 24,39 ---- # Figure out which it is: ! if [ "$Linuxsrc" == "" ] then ! if [ -d $Debiansrc ] ! then ! Linuxsrc="$Debiansrc" ! fi ! ! if [ -d $RedHatsrc ] ! then ! Linuxsrc="RedHatsrc" ! fi fi |