summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/create_lk_drm.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/create_lk_drm.sh b/scripts/create_lk_drm.sh
index e2cef8d1..1028853a 100755
--- a/scripts/create_lk_drm.sh
+++ b/scripts/create_lk_drm.sh
@@ -29,12 +29,14 @@ 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