diff options
Diffstat (limited to 'scripts/create_lk_drm.sh')
-rwxr-xr-x | scripts/create_lk_drm.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/scripts/create_lk_drm.sh b/scripts/create_lk_drm.sh deleted file mode 100755 index b18a9514..00000000 --- a/scripts/create_lk_drm.sh +++ /dev/null @@ -1,37 +0,0 @@ -#! /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 -# kernel_version to remove below (e.g. 2.6.24) - -if [ $# -lt 2 ] ;then - echo usage: $0 output_dir kernel_version - exit 1 -fi - -if [ ! -d shared-core -o ! -d linux-core ] ;then - echo not in DRM toplevel - exit 1 -fi - -OUTDIR=$1/drivers/char/drm/ -KERNEL_VERS=$2 -echo "Copying kernel independent files" -mkdir -p $OUTDIR/.tmp - -( cd linux-core/ ; make drm_pciids.h ) -cp shared-core/*.[ch] $OUTDIR/.tmp -cp linux-core/*.[ch] $OUTDIR/.tmp -cp linux-core/Makefile.kernel $OUTDIR/.tmp/Makefile - -echo "Copying 2.6 Kernel files" -cp linux-core/Kconfig $OUTDIR/.tmp - -./scripts/drm-scripts-gentree.pl $KERNEL_VERS $OUTDIR/.tmp $OUTDIR -cd $OUTDIR - -rm -rf .tmp -rm via_ds.[ch] -rm sis_ds.[ch] - -cd - |