wok-6.x diff dahdi-linux/receipt @ rev 14727
Up libdrm (2.4.45)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 09:38:35 2013 +0200 (2013-06-13) |
parents | 35e1381d79b6 |
children | 08901e2b9d77 |
line diff
1.1 --- a/dahdi-linux/receipt Mon Jan 14 23:42:27 2013 +0100 1.2 +++ b/dahdi-linux/receipt Thu Jun 13 09:38:35 2013 +0200 1.3 @@ -20,7 +20,13 @@ 1.4 sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile 1.5 find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ 1.6 -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g' 1.7 - [ -d $WOK/linux/taz ] || tazwok cook linux 1.8 + if [ ! -d $WOK/linux/taz ]; then 1.9 + if [ -x /usr/bin/cook ]; then 1.10 + cook linux 1.11 + else 1.12 + tazwok cook linux 1.13 + fi 1.14 + fi 1.15 make KVERS=$kvers KSRC=$WOK/linux/source/$(ls $WOK/linux/taz) install 1.16 } 1.17