Hi,

An updated version of my previous patch. This also fixes builds for 2.6 kernels
which is broken at the moment.

The current create_lk_drm.sh script does not pass the kernel source dir
to make. If you are trying to install the DRM to a kernel source that
is not running the kernel this fails.

The create_lk_drm.sh script also does not copy the linux-2.6 files to the
kernel's drm directory.

I enclose a patch that fixes these items.

Terry
--
Dr Terry Barnaby                     BEAM Ltd
Phone: +44 1454 324512               Northavon Business Center, Dean Rd
Fax:   +44 1454 313172               Yate, Bristol, BS37 5NH, UK
Email: [EMAIL PROTECTED]             Web: www.beam.ltd.uk
BEAM for: Visually Impaired X-Terminals, Parallel Processing, Software
                       "Tandems are twice the fun !"

? linux/drm_pciids.h
Index: scripts/create_lk_drm.sh
===================================================================
RCS file: /cvs/dri/drm/scripts/create_lk_drm.sh,v
retrieving revision 1.4
diff -u -r1.4 create_lk_drm.sh
--- scripts/create_lk_drm.sh	9 May 2004 06:36:55 -0000	1.4
+++ scripts/create_lk_drm.sh	27 Oct 2004 09:33:32 -0000
@@ -20,7 +20,7 @@
 echo "Copying kernel independent files"
 mkdir -p $OUTDIR
 
-( cd linux/ ; make drm_pciids.h )
+( cd linux/ ; make LINUXDIR=$OUTDIR drm_pciids.h )
 cp shared/*.[ch] $OUTDIR
 cp linux/*.[ch] $OUTDIR
 cp linux/Makefile.kernel $OUTDIR/Makefile
@@ -31,5 +31,6 @@
 elif [ $VERS = 2.6 ] ;then
 	echo "Copying 2.6 Kernel files"
 	cp linux/Kconfig $OUTDIR/
+	cp linux-2.6/*.[ch] $OUTDIR
 fi
 

Reply via email to