r1938 - trunk/packages/linux64

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Thu Jun 28 05:25:47 PDT 2007


Author: alexander
Date: 2007-06-28 06:25:47 -0600 (Thu, 28 Jun 2007)
New Revision: 1938

Modified:
   trunk/packages/linux64/build-nvidia-driver
Log:
Fixed nvidia driver build on x86_64

Modified: trunk/packages/linux64/build-nvidia-driver
===================================================================
--- trunk/packages/linux64/build-nvidia-driver	2007-06-28 10:55:46 UTC (rev 1937)
+++ trunk/packages/linux64/build-nvidia-driver	2007-06-28 12:25:47 UTC (rev 1938)
@@ -3,7 +3,7 @@
 sed -i 's/: select_makefile$/:/' makefile
 sed -i 's/^module:.*$/module:/' Makefile.kbuild
 ln -s Makefile.kbuild Makefile
-PATH=$PATH:/tools/bin make KERNEL_MODLIB=/lib/modules/$2 ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- module
+PATH=$PATH:/tools/bin make KERNEL_MODLIB=/lib/modules/$2 ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- CC=x86_64-unknown-linux-gnu-gcc module
 cd ../../..
 mkdir -p kernel/lib/modules/$2/external
 cp usr/src/nv/nvidia.ko kernel/lib/modules/$2/external




More information about the livecd mailing list