wok rev 20274
linux: recook
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 18 21:05:50 2018 +0100 (2018-03-18) |
parents | 36656a030ec4 |
children | 4eea601c115a |
files | linux/receipt linux64-usbip/receipt |
line diff
1.1 --- a/linux/receipt Sun Mar 18 17:13:32 2018 +0100 1.2 +++ b/linux/receipt Sun Mar 18 21:05:50 2018 +0100 1.3 @@ -249,13 +249,14 @@ 1.4 1.5 # Build bzImage64 without modules first 1.6 if [ ! "$nonomods" ]; then 1.7 + [ -d $DESTDIR/linux64 ] || mkdir -p $DESTDIR/linux64 || 1.8 + return 1 1.9 cp -f $stuff/$PACKAGE-slitaz.config64 .config 1.10 sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config 1.11 echo -e "\n* Configure bzImage64 without modules...\n" 1.12 yes '' | make ARCH=x86_64 oldconfig 1.13 echo -e "\n* Building bzImage64 without modules...\n" 1.14 make -j 4 ARCH=x86_64 CROSS_COMPILE=uclibc-x86_64- bzImage || exit 1 1.15 - [ -d $DESTDIR ] || mkdir -p $DESTDIR/linux64 1.16 mv arch/x86/boot/bzImage $DESTDIR/linux64 1.17 mv System.map System.map-without-modules64 1.18 mv vmlinux vmlinux-without-modules64 1.19 @@ -381,6 +382,7 @@ 1.20 $fs/lib/modules/$VERSION-slitaz 1.21 1.22 # Pack all packages with a kernel module 1.23 + sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true 1.24 for i in $(cd $WOK; grep -l '^WANTED="linux"' */receipt); do 1.25 [ ! -d "$install/lib/modules/$VERSION-slitaz" ] && return 1 1.26 cook ${i%/receipt}
2.1 --- a/linux64-usbip/receipt Sun Mar 18 17:13:32 2018 +0100 2.2 +++ b/linux64-usbip/receipt Sun Mar 18 21:05:50 2018 +0100 2.3 @@ -8,8 +8,8 @@ 2.4 LICENSE="GPL2" 2.5 DEPENDS="linux64" 2.6 WANTED="linux" 2.7 +WEB_SITE="http://www.kernel.org/" 2.8 PROVIDE="usbip-module:linux64 linux-usbip:linux64" 2.9 -WEB_SITE="http://www.kernel.org/" 2.10 SUGGESTED="usbip" 2.11 2.12 # Rules to gen a SliTaz package suitable for Tazpkg. 2.13 @@ -20,8 +20,7 @@ 2.14 install=$install/linux64 2.15 path=lib/modules/$VERSION-slitaz64/kernel 2.16 mkdir -p $fs/$path 2.17 - export src 2.18 - export install 2.19 + export src install 2.20 $wanted_stuff/list_modules.sh drivers/staging/usbip | while read module; do 2.21 dir=$path/$(dirname $module) 2.22 [ -d $fs/$dir ] || mkdir -p $fs/$dir