wok-next rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
parents ed560df8d2fc
children d3ab9678f9a0
files linux/receipt
line diff
     1.1 --- a/linux/receipt	Thu Dec 16 16:22:02 2010 +0000
     1.2 +++ b/linux/receipt	Thu Dec 16 17:16:06 2010 +0000
     1.3 @@ -76,7 +76,7 @@
     1.4  	cd ../..
     1.5  
     1.6  	# Build bzImage without modules first
     1.7 -	cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config
     1.8 +	cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config
     1.9  	sed -i 's/CONFIG_MODULES=y/# CONFIG_MODULES is not set/' .config
    1.10  	# We can't keep every driver in staging 
    1.11  	sed -i -e 's/^CONFIG_RTL8192/#&/' \
    1.12 @@ -84,11 +84,12 @@
    1.13  	       -e 's/^CONFIG_RT2870/#&/' .config
    1.14  	yes '' | make oldconfig
    1.15  	make -j 4 bzImage || return 1
    1.16 +	[-d $PWD/_pkg ] || mkdir -p $PWD/_pkg
    1.17  	mv arch/x86/boot/bzImage $PWD/_pkg
    1.18  	mv System.map System.map-without-modules
    1.19  
    1.20  	# Build bzImage with modules
    1.21 -	cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config
    1.22 +	cp -f ../stuff/$PACKAGE-$VERSION-slitaz.config .config
    1.23  	make oldconfig
    1.24  	ln .config slitaz/config
    1.25  	make -j 4 bzImage &&