wok-next diff broadcom-wl/receipt @ rev 15621
broadcom-wl: run xz in compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 11:31:53 2013 +0000 (2013-12-08) |
parents | 8873e661671a |
children | db5b03f42dd9 |
line diff
1.1 --- a/broadcom-wl/receipt Sat Dec 07 06:59:03 2013 +0000 1.2 +++ b/broadcom-wl/receipt Sun Dec 08 11:31:53 2013 +0000 1.3 @@ -21,6 +21,7 @@ 1.4 sed -i 's|linux/autoconf.h|generated/autoconf.h|' src/include/linuxver.h 1.5 patch -Np1 -i $stuff/semaphore.patch 1.6 KBUILD_NOPEDANTIC=1 make -C /usr/src/linux M=`pwd` 1.7 + xz wl.ko 1.8 } 1.9 1.10 # Rules to gen a SliTaz package suitable for Tazpkg. 1.11 @@ -32,8 +33,7 @@ 1.12 mkdir -p $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless 1.13 1.14 # Compress and install module 1.15 - cp $src/wl.ko $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/ 1.16 - xz $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko 1.17 + cp $src/wl.ko.xz $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/ 1.18 chown root $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.xz 1.19 chmod 0644 $fs/lib/modules/$KERNEL_VERSION-slitaz/kernel/drivers/net/wireless/wl.ko.xz 1.20 }