Ticket #8475: scummvm-armlinux.patch

File scummvm-armlinux.patch, 930 bytes (added by SF/koenkooi, 15 years ago)

scummvm-armlinux support

  • configure

    old new  
    690690                        type_2_byte='short'
    691691                        type_4_byte='int'
    692692                        ;;
     693
     694                arm-linux)
     695                        echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
     696                        DEFINES="$DEFINES -DUNIX"
     697                        #not true for all ARM systems, but the interesting ones are all LE. Most (if not all) BE arm devices don't have a screen
     698                         _def_endianness='#define SCUMM_LITTLE_ENDIAN'
     699                        _def_align='#define SCUMM_NEED_ALIGNMENT'
     700                        type_1_byte='char'
     701                        type_2_byte='short'
     702                        type_4_byte='int'
     703                        ;;
     704
    693705                ppc-amigaos)
    694706                        echo "Cross-compiling to $_host, forcing endianness, alignment and type sizes"
    695707                        _def_endianness='#define SCUMM_BIG_ENDIAN'