wok rev 7163
linmodem-hsfmodem: do not assume build host kernel is up to date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 07 16:40:05 2010 +0100 (2010-11-07) |
parents | 7750f7899797 |
children | 7c4bd9ce665d |
files | linmodem-hsfmodem/receipt |
line diff
1.1 --- a/linmodem-hsfmodem/receipt Sun Nov 07 02:25:09 2010 +0000 1.2 +++ b/linmodem-hsfmodem/receipt Sun Nov 07 16:40:05 2010 +0100 1.3 @@ -23,7 +23,7 @@ 1.4 # set /usr/src/linux 1.5 echo "Set fake /usr/src/linux dir..Ã" 1.6 [ -e /usr/src ] && SRCDIR=yes || mkdir -p /usr/src 1.7 - ln -s $WOK/linux/linux-$(uname -r | sed s/-slitaz//) /usr/src/linux 1.8 + ln -s $WOK/linux/linux-$KERNEL_VERSION /usr/src/linux 1.9 # build driver 1.10 echo "Build driver" 1.11 make ROOT=$PWD/_pkg install