wok diff linux/receipt @ rev 7655

Add linux-without-modules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 15 20:56:53 2010 +0100 (2010-12-15)
parents 1bea914df3b9
children ad0d39a286a5
line diff
     1.1 --- a/linux/receipt	Tue Dec 14 21:45:09 2010 +0000
     1.2 +++ b/linux/receipt	Wed Dec 15 20:56:53 2010 +0100
     1.3 @@ -81,9 +81,17 @@
     1.4  	make -j 4 modules &&
     1.5  	make INSTALL_MOD_PATH=$PWD/_pkg modules_install &&
     1.6  	make INSTALL_HDR_PATH=$PWD/_pkg/usr headers_install &&
     1.7 -	[ -s arch/x86/boot/bzImage ]
     1.8 +	[ -s arch/x86/boot/bzImage ] || return 1
     1.9  	# Compress all modules.
    1.10  	$WOK/$PACKAGE/stuff/gztazmod.sh $PWD/_pkg/lib/modules/$VERSION-slitaz
    1.11 +	mv System.map System.map-modules
    1.12 +	sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config
    1.13 +	# We can't keep every driver in staging 
    1.14 +	sed -i -e 's/^CONFIG_RTL8192/#&/' \
    1.15 +	       -e 's/^CONFIG_R8187SE/#&/' \
    1.16 +	       -e 's/^CONFIG_RT2870/#&/' .config
    1.17 +	yes '' | make oldconfig
    1.18 +	make -j 4 bzImage && mv arch/x86/boot/bzImage $PWD/_pkg
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.