summaryrefslogtreecommitdiff
path: root/v4l/scripts/makelinks.sh
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-07-04 17:58:23 +0200
committerPatrick Boettcher <pb@linuxtv.org>2006-07-04 17:58:23 +0200
commit8fbac88a9c801be025c283275f2eb6585a5cc454 (patch)
treebd82f6b1848d218e56f57805fdc569b9574e8089 /v4l/scripts/makelinks.sh
parentc0b0560a9ed6e97eca6da5f8432c0dbb2fe471ad (diff)
parent54b507ede0a1c5349b47f84af7d3d0b417467e3a (diff)
downloadmediapointer-dvb-s2-8fbac88a9c801be025c283275f2eb6585a5cc454.tar.gz
mediapointer-dvb-s2-8fbac88a9c801be025c283275f2eb6585a5cc454.tar.bz2
sync with master
From: Patrick Boettcher <pb@linuxtv.org> sync with master Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Diffstat (limited to 'v4l/scripts/makelinks.sh')
-rwxr-xr-xv4l/scripts/makelinks.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/v4l/scripts/makelinks.sh b/v4l/scripts/makelinks.sh
index a66989771..187145822 100755
--- a/v4l/scripts/makelinks.sh
+++ b/v4l/scripts/makelinks.sh
@@ -5,7 +5,7 @@ if test -z $1 || ! test -d $1 ; then
echo
echo " usage: $0 <path_to_kernel_to_patch>"
echo
- exit
+ exit
fi
echo "patching $1..."
@@ -14,15 +14,15 @@ cd linux
PWD=`pwd`
for x in `find drivers -type d | grep -v CVS` ; do
- mkdir -p -v $1/$x
+ mkdir -p -v $1/$x
done
for x in `find Documentation -type d | grep -v CVS` ; do
- mkdir -p -v $1/$x
+ mkdir -p -v $1/$x
done
for x in `find include -type d | grep -v CVS` ; do
- mkdir -p -v $1/$x
+ mkdir -p -v $1/$x
done
for x in `find Documentation -type f | grep -v CVS | grep -v .cvsignore` ; do
@@ -39,10 +39,12 @@ done
for x in `find include -type d | grep -v CVS` ; do
ln -f -s $PWD/../v4l/compat.h $1/$x/compat.h
+ touch $1/$x/config-compat.h
done
for x in `find drivers/media -type d | grep -v CVS` ; do
ln -f -s $PWD/../v4l/compat.h $1/$x/compat.h
+ touch $1/$x/config-compat.h
done
cd ..