aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2007-04-26 17:54:06 +1000
committerDave Airlie <airlied@linux.ie>2007-04-26 17:54:06 +1000
commit2a6f555053bd404e7e5721c40990da2d9db53d19 (patch)
treece97236cf5435f19f7fd74615029bcafa28bdb52
parentafc029e935a8f4667aff786c51818712487d185d (diff)
update create_lk_drm.sh script
-rwxr-xr-xscripts/create_lk_drm.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/create_lk_drm.sh b/scripts/create_lk_drm.sh
index 1028853a..ddfbf499 100755
--- a/scripts/create_lk_drm.sh
+++ b/scripts/create_lk_drm.sh
@@ -48,4 +48,10 @@ do
unifdef -D__linux__ -DI915_HAVE_FENCE -DI915_HAVE_BUFFER $i > $i.tmp
mv $i.tmp $i
done
+
+for i in drm*.[ch]
+do
+unifdef -UDRM_ODD_MM_COMPAT -D__linux__ $i > $i.tmp
+mv $i.tmp $i
+done
cd -