wok-6.x rev 16177

8086tiny: nasm is native, do not use it
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 30 16:34:03 2014 +0000 (2014-03-30)
parents 50db55539590
children 48074f4f2f61 70416dacfe5f
files 8086tiny/receipt
line diff
     1.1 --- a/8086tiny/receipt	Sun Mar 30 15:23:23 2014 +0000
     1.2 +++ b/8086tiny/receipt	Sun Mar 30 16:34:03 2014 +0000
     1.3 @@ -14,13 +14,24 @@
     1.4  DEPENDS="libsdl"
     1.5  BUILD_DEPENDS="nasm libsdl-dev"
     1.6  
     1.7 +# Handle cross compilation.
     1.8 +case "$ARCH" in
     1.9 +	arm*)
    1.10 +		BUILD_DEPENDS="libsdl-dev" ;;
    1.11 +esac
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	make CC=gcc no_graphics &&
    1.17  	mv 8086tiny 8086tiny.nographics &&
    1.18  	make CC=gcc &&
    1.19 -	nasm bios_source/bios.asm
    1.20 +	case "$ARCH" in
    1.21 +		arm*)
    1.22 +			cp bios bios_source/ ;;
    1.23 +		*)
    1.24 +			nasm bios_source/bios.asm ;;
    1.25 +	esac
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.