diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-11-26 11:39:52 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2010-11-30 17:17:53 +0100 |
commit | d420ff258af140ef35fb64af4ac542cf3a1797ed (patch) | |
tree | 19314dba0ddf54485213080a7d47f7e854e5ef37 /recipes/xmame | |
parent | 7aa6b49cabce5f85705508a0ead01433b2dafbbe (diff) | |
download | openembedded-d420ff258af140ef35fb64af4ac542cf3a1797ed.tar.gz |
xmame: fix runtime endianess issue and bump PR
Without that fix we have(at runtime):
xmame.SDL
error: compiled byte ordering doesn't match machine byte ordering.
compiled for MSB first, are you sure you chose the right cpu in makefile.unix?
on arm little endian
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Diffstat (limited to 'recipes/xmame')
-rw-r--r-- | recipes/xmame/xmame_0.100.bb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/recipes/xmame/xmame_0.100.bb b/recipes/xmame/xmame_0.100.bb index ce95744820..cd326a2ac3 100644 --- a/recipes/xmame/xmame_0.100.bb +++ b/recipes/xmame/xmame_0.100.bb @@ -1,4 +1,4 @@ -DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL" +DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL " LICENSE = "xmame" SECTION = "games" PRIORITY = "optional" @@ -7,14 +7,18 @@ DEPENDS = "expat virtual/libsdl libsdl-mixer" SRC_URI = "http://x.mame.net/download/historic/xmame-${PV}.tar.bz2 file://tiny.mak" S = "${WORKDIR}/xmame-${PV}" -inherit flow-lossage +PR = "r1" + +inherit flow-lossage siteinfo + +ENDIANESS = "${@base_conditional('SITEINFO_ENDIANNESS', 'le', '-DLSB_FIRST', '-DMSB_FIRST', d)}" do_compile() { test -z "${TINY}" && oe_runmake TARGET="mame" CC="${BUILD_CC}" maketree xmame.obj/cpu/m68000/m68kmake - oe_runmake TARGET="mame" JOY_SDL=1 SOUND_SDL=1 DISPLAY_METHOD=SDL \ - CC="${CC}" CXX="${CXX}" CFLAGS="-I. -Isrc -Isrc/include -Isrc/unix ${CFLAGS}" \ - CXXFLAGS="${CXXFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" \ - RANLIB="${RANLIB}" MY_CPU="${TARGET_ARCH}" ARCH="${TARGET_OS}" \ + oe_runmake TARGET="mame" JOY_SDL=1 SOUND_SDL=1 DISPLAY_METHOD=SDL \ + CC="${CC}" CXX="${CXX}" CFLAGS="-I. -Isrc -Isrc/include -Isrc/unix ${CFLAGS} ${ENDIANESS}" \ + CXXFLAGS="${CXXFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" \ + RANLIB="${RANLIB}" MY_CPU="${TARGET_ARCH}" ARCH="${TARGET_OS}" \ GLLIBS="" STRIP="${STRIP}" AR="${AR}" } |