wok-6.x diff linux/receipt @ rev 20285

Up libdrm-mach64 (20140830)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 02 10:26:51 2018 +0200 (2018-04-02)
parents 36656a030ec4
children fa77ea692592
line diff
     1.1 --- a/linux/receipt	Sun Mar 18 17:13:32 2018 +0100
     1.2 +++ b/linux/receipt	Mon Apr 02 10:26:51 2018 +0200
     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}