diff options
author | Keith Packard <keithp@neko.keithp.com> | 2007-01-07 22:37:40 -0800 |
---|---|---|
committer | Keith Packard <keithp@neko.keithp.com> | 2007-01-07 22:37:40 -0800 |
commit | c5aaf7648df82665851c9e67f5509b427ca34c8e (patch) | |
tree | 55b317738a99097cb02ba6a736b9ef20de6b34f3 /scripts | |
parent | 63c0f3946056d044b7c5688fa5cb670782212c77 (diff) | |
parent | d0080d71b9f3df0d4f743324b7e8f1ce580bdcaf (diff) |
Merge branch 'master' into crestline
Conflicts:
shared-core/i915_drm.h
Whitespace change only
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create_lk_drm.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/create_lk_drm.sh b/scripts/create_lk_drm.sh index 4b57ce20..1028853a 100755 --- a/scripts/create_lk_drm.sh +++ b/scripts/create_lk_drm.sh @@ -27,3 +27,25 @@ cp linux-core/Makefile.kernel $OUTDIR/Makefile echo "Copying 2.6 Kernel files" cp linux-core/Kconfig $OUTDIR/ +cd $OUTDIR + +rm via_ds.[ch] +for i in via*.[ch] +do +unifdef -D__linux__ -DVIA_HAVE_DMABLIT -DVIA_HAVE_CORE_MM $i > $i.tmp +mv $i.tmp $i +done + +rm sis_ds.[ch] +for i in sis*.[ch] +do +unifdef -D__linux__ -DVIA_HAVE_DMABLIT -DSIS_HAVE_CORE_MM $i > $i.tmp +mv $i.tmp $i +done + +for i in i915*.[ch] +do +unifdef -D__linux__ -DI915_HAVE_FENCE -DI915_HAVE_BUFFER $i > $i.tmp +mv $i.tmp $i +done +cd - |