[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-devel
Subject:    [Patch] Problem with create_lk_drm.sh when building for a non installed
From:       Terry Barnaby <terry1 () beam ! ltd ! uk>
Date:       2004-10-27 9:36:23
Message-ID: 417F6C17.4070601 () beam ! ltd ! uk
[Download RAW message or body]

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: terry@beam.ltd.uk             Web: www.beam.ltd.uk
BEAM for: Visually Impaired X-Terminals, Parallel Processing, Software
                        "Tandems are twice the fun !"


["drm_create_lk_drm.patch" (text/x-patch)]

? 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
 

-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic