wok-current rev 3843
Fix: lirc use kernel version in the wok not running
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Aug 07 13:26:13 2009 +0200 (2009-08-07) |
parents | 5d2ad90121c8 |
children | ae8b3644d73d |
files | lirc/receipt |
line diff
1.1 --- a/lirc/receipt Fri Aug 07 13:16:45 2009 +0200 1.2 +++ b/lirc/receipt Fri Aug 07 13:26:13 2009 +0200 1.3 @@ -15,23 +15,24 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 - 1.8 + 1.9 # Up through at least lirc 0.8.5, lirc_gpio doesn't build with kernel 2.6.22+ 1.10 echo "Disabling build of drivers/lirc_gpio due to kernel incompatibility" 1.11 sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.am 1.12 sed -i -e "s:lirc_gpio\.o::" drivers/lirc_gpio/Makefile.in 1.13 - 1.14 + 1.15 # lirc_parallel is not SMP safe 1.16 echo "Disabling build of drivers/lirc_parallel due to SMP incompatibility" 1.17 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.am 1.18 sed -i -e "s:lirc_parallel\.o::" drivers/lirc_parallel/Makefile.in 1.19 - 1.20 + 1.21 ./configure \ 1.22 --prefix=/usr \ 1.23 --with-x \ 1.24 --with-driver=all \ 1.25 --with-kerneldir=/usr/src/linux \ 1.26 - --with-moduledir=/lib/modules/$(uname -r)/kernel/misc \ 1.27 + --with-moduledir=/lib/modules/$(cat $WOK/linux/receipt | grep ^VERSION | \ 1.28 + cut -d "\"" -f 2)/kernel/misc \ 1.29 $CONFIGURE_ARGS && 1.30 make && 1.31 make DESTDIR=$src/_pkg install 1.32 @@ -44,7 +45,7 @@ 1.33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.34 cp -a $_pkg/usr/bin $fs/usr 1.35 cp -a $_pkg/usr/sbin $fs/usr 1.36 - 1.37 + 1.38 cp -a $_pkg/dev $fs 1.39 cp -a $_pkg/lib $fs 1.40 }