wok-current diff linux/receipt @ rev 16459

ARM: Mplayer need a gmplayer sym link and so we have a gui video player for arm :-)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 20 16:57:15 2014 +0200 (2014-04-20)
parents 673b107f2fd7
children 532076da08b9
line diff
     1.1 --- a/linux/receipt	Fri Jan 31 19:46:06 2014 +0100
     1.2 +++ b/linux/receipt	Sun Apr 20 16:57:15 2014 +0200
     1.3 @@ -37,16 +37,19 @@
     1.4  
     1.5  # Handle multiarch installation. ARM use Busybox modutils, so avoid any
     1.6  # deps on kmod. SLITAZ_ARCH can have also custom post_install commands
     1.7 -. $root/etc/slitaz/slitaz.conf || exit 1
     1.8 -case "$SLITAZ_ARCH" in
     1.9 -	arm) DEPENDS="" ;;
    1.10 -esac
    1.11 +if [ -f $root/etc/slitaz/slitaz.conf ]; then
    1.12 +	. $root/etc/slitaz/slitaz.conf
    1.13 +	case "$SLITAZ_ARCH" in
    1.14 +		arm) DEPENDS="" ;;
    1.15 +	esac
    1.16 +fi
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	cd $src
    1.22 -	cp /usr/share/boot/initrd initrd.cpio
    1.23 +	if [ -f "/usr/share/boot/initrd" ]; then
    1.24 +		cp /usr/share/boot/initrd initrd.cpio
    1.25 +	fi
    1.26  
    1.27  	# Handle cross compilation
    1.28  	case "$ARCH" in
    1.29 @@ -63,6 +66,7 @@
    1.30  			mkdir -p $DESTDIR/boot &&
    1.31  			cp -a arch/arm/boot/zImage \
    1.32  				$DESTDIR/boot/linux-$VERSION-slitaz-$ARCH
    1.33 +			#$stuff/gztazmod.sh $DESTDIR/lib/modules/$VERSION-slitaz
    1.34  			return 0 ;;
    1.35  		x86_64)
    1.36  			echo "TODO: Maybe use default ? But cross compile in x86_64 chroot"