diff -Naur NVIDIA-Linux-x86-1.0-7676-pkg1/Makefile NVIDIA-Linux-x86-1.0-7676-pkg1-archie/Makefile --- NVIDIA-Linux-x86-1.0-7676-pkg1/Makefile 2005-05-26 04:20:06.000000000 +1000 +++ NVIDIA-Linux-x86-1.0-7676-pkg1-archie/Makefile 2005-06-11 23:54:53.000000000 +1000 @@ -94,5 +94,3 @@ cp -r usr/include/* ${DOCDIR}/include @echo -n " " cp -r usr/share/doc/* ${DOCDIR} - @echo -n " " - /sbin/ldconfig diff -Naur NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/Makefile.kbuild NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/Makefile.kbuild --- NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/Makefile.kbuild 2005-05-26 04:20:05.000000000 +1000 +++ NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/Makefile.kbuild 2005-06-11 23:47:07.000000000 +1000 @@ -90,13 +90,13 @@ # SYSSRC directive; this new directive replaces NVIDIA's SYSINCLUDE. # -KERNEL_MODLIB := /lib/modules/$(shell uname -r) +KERNEL_MODLIB := /lib/modules/2.6.11-ARCHIE ifdef SYSSRC KERNEL_SOURCES := $(SYSSRC) KERNEL_HEADERS := $(KERNEL_SOURCES)/include else - KERNEL_UNAME := $(shell uname -r) + KERNEL_UNAME := 2.6.11-ARCHIE KERNEL_SOURCES := $(shell test -d $(KERNEL_MODLIB)/source && echo $(KERNEL_MODLIB)/source || echo $(KERNEL_MODLIB)/build) KERNEL_HEADERS := $(KERNEL_SOURCES)/include endif @@ -293,9 +293,9 @@ # module-install: suser-sanity-check module - @mkdir -p $(MODULE_ROOT)/video; \ - install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ - PATH="$(PATH):/bin:/sbin" depmod -ae; + #@mkdir -p $(MODULE_ROOT)/video; \ + #install -m 0664 -o root -g root $(MODULE_OBJECT) $(MODULE_ROOT)/video; \ + #PATH="$(PATH):/bin:/sbin" depmod -ae; # # This target builds, then installs, then creates device nodes and inserts @@ -303,7 +303,7 @@ # package-install: module-install rmmod-sanity-check - PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && \ + #PATH="$(PATH):/bin:/sbin" modprobe $(MODULE_NAME) && echo "$(MODULE_OBJECT) installed successfully."; # diff -Naur NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/Makefile.nvidia NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/Makefile.nvidia --- NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/Makefile.nvidia 2005-05-26 04:20:05.000000000 +1000 +++ NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/Makefile.nvidia 2005-06-11 23:48:02.000000000 +1000 @@ -26,7 +26,7 @@ KERNEL_HEADERS := $(SYSINCLUDE) KERNEL_SOURCES := $(KERNEL_HEADERS)/.. else - KERNEL_UNAME := $(shell uname -r) + KERNEL_UNAME := 2.6.11-ARCHIE KERNEL_SOURCES := /lib/modules/$(KERNEL_UNAME)/build KERNEL_HEADERS := $(KERNEL_SOURCES)/include endif diff -Naur NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/conftest.sh NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/conftest.sh --- NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/conftest.sh 2005-05-26 04:20:05.000000000 +1000 +++ NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/conftest.sh 2005-06-11 23:51:25.000000000 +1000 @@ -289,21 +289,22 @@ # against; if an error occurs, give up and just return `uname -r` # - echo "#include \"linux/version.h\" - int main() { - printf(\"%s\n\", UTS_RELEASE); - return 0; - }" > conftest$$.c + #echo "#include \"linux/version.h\" + #int main() { + # printf(\"%s\n\", UTS_RELEASE); + # return 0; + #}" > conftest$$.c - $CC $CFLAGS -o conftest$$ conftest$$.c > /dev/null 2>&1 - rm -f conftest$$.c + #$CC $CFLAGS -o conftest$$ conftest$$.c > /dev/null 2>&1 + #rm -f conftest$$.c if [ -f conftest$$ ]; then - ./conftest$$ - rm -f conftest$$ + #./conftest$$ + #rm -f conftest$$ + echo 2.6.11-ARCHIE exit 0 else - uname -r + echo 2.6.11-ARCHIE exit 1 fi ;; diff -Naur NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/makefile NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/makefile --- NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/makefile 2005-05-26 04:20:05.000000000 +1000 +++ NVIDIA-Linux-x86-1.0-7676-pkg1-archie/usr/src/nv/makefile 2005-06-11 23:51:51.000000000 +1000 @@ -5,7 +5,7 @@ # and then passes the target on to that Makefile. # -KERNEL_MODLIB := /lib/modules/$(shell uname -r) +KERNEL_MODLIB := /lib/modules/2.6.11-ARCHIE ifndef SYSSRC ifdef SYSINCLUDE