Skip to content

Commit

Permalink
fix documented in issue #70
Browse files Browse the repository at this point in the history
  • Loading branch information
ddiakopoulos committed Mar 26, 2016
1 parent d185508 commit 76b33a0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/patch-uvcvideo-4.4.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ wget http://kernel.ubuntu.com/~kernel-ppa/mainline/$LINUX_BRANCH/`grep 'linux-he
sudo dpkg -i linux-headers-*.deb

RAW_TAG=`echo $THE_BRANCH | cut -c 2-`
CONFIG_LOCATION=/usr/src/linux-headers-$RAW_TAG*-generic/
CONFIG_LOCATION=/usr/src/linux-headers-$(uname -r)

# Now can get symvers from /usr/src/....

Expand All @@ -46,10 +46,6 @@ patch -p1 < $PATCH_C
# Apply our RealSense specific patch
patch -p1 < ../scripts/realsense-camera-formats.patch

# Prepare to compile modules
cp $CONFIG_LOCATION/.config .
cp $CONFIG_LOCATION/Module.symvers .

make scripts oldconfig modules_prepare

# Compile UVC modules
Expand Down

0 comments on commit 76b33a0

Please sign in to comment.