wok rev 17735
dahdi-linux: save firmware as source (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 12:02:31 2015 +0100 (2015-03-06) |
parents | 3dd7afb348a9 |
children | 891649a16bcb |
files | dahdi-linux/receipt |
line diff
1.1 --- a/dahdi-linux/receipt Fri Mar 06 11:23:56 2015 +0100 1.2 +++ b/dahdi-linux/receipt Fri Mar 06 12:02:31 2015 +0100 1.3 @@ -24,8 +24,9 @@ 1.4 sed -i 's|/sbin/depmod|echo &|' Makefile 1.5 sed -i 's/tar -xof/tar -xf/' drivers/dahdi/firmware/Makefile 1.6 for i in $EXTRA_SOURCE_FILES ; do 1.7 - [ -s $SOURCES_REPOSITORY/$i ] && 1.8 + [ -s $SOURCES_REPOSITORY/$i ] || continue 1.9 cp $SOURCES_REPOSITORY/$i drivers/dahdi/firmware/ 1.10 + tar xzf $SOURCES_REPOSITORY/$i -C drivers/dahdi/firmware/ 1.11 done 1.12 find -type f | xargs sed -i -e 's/DECLARE_MUTEX/DEFINE_SEMAPHORE/g' \ 1.13 -e 's/init_MUTEX\([^)]*\)/sema_init\1, 1/g'