|
|
|
|
File: [XFree86 CVS] / xc / extras / drm / scripts / Attic / create_lk_drm.sh
(download)
/
(as text)
Revision: 1.1.1.1 (vendor branch), Fri Dec 10 16:05:37 2004 UTC (8 years, 5 months ago) by alanh Branch: DRM CVS Tags: xf-4_4_99_902, xf-4_4_99_901, xf-4_4_99_22, xf-4_4_99_21, xf-4_4_99_20, xf-4_4_99_19, DRM-20041208 Changes since 1.1: +0 -0 lines DRM snapshot 20041208 |
#! /bin/bash # script to create a Linux Kernel tree from the DRM tree for diffing etc.. # # Original author - Dave Airlie (C) 2004 - airlied@linux.ie # if [ $# -lt 2 ] ;then echo usage: $0 output_dir [2.4\|2.6] exit 1 fi if [ ! -d shared -o ! -d linux ] ;then echo not in DRM toplevel exit 1 fi OUTDIR=$1/drivers/char/drm/ VERS=$2 echo "Copying kernel independent files" mkdir -p $OUTDIR ( cd linux/ ; make drm_pciids.h ) cp shared/*.[ch] $OUTDIR cp linux/*.[ch] $OUTDIR cp linux/Makefile.kernel $OUTDIR/Makefile if [ $VERS = 2.4 ] ;then echo "Copying 2.4 Kernel files" cp linux/Config.in $OUTDIR/ elif [ $VERS = 2.6 ] ;then echo "Copying 2.6 Kernel files" cp linux/Kconfig $OUTDIR/ fi
|
Powered by ViewCVS 0.9.2 |