From 7c5c6803abe774cd77dcc38dd4ede00e7eec76e4 Mon Sep 17 00:00:00 2001 From: Klaus Reimer Date: Sun, 3 Apr 2011 00:01:26 +0200 Subject: WEBOS: Add webos backend IPK can be built with "make webosrelease". --- configure | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'configure') diff --git a/configure b/configure index c732ecce44..1cec7db176 100755 --- a/configure +++ b/configure @@ -655,7 +655,7 @@ Configuration: -h, --help display this help and exit --backend=BACKEND backend to build (android, dc, dingux, ds, gp2x, gph, iphone, linuxmoto, maemo, n64, null, openpandora, ps2, - psp, samsungtv, sdl, symbian, wii, wince) [sdl] + psp, samsungtv, sdl, symbian, webos, wii, wince) [sdl] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX @@ -1669,11 +1669,8 @@ case $_host_os in ;; webos) CXXFLAGS="$CXXFLAGS --sysroot=$WEBOS_PDK/arm-gcc/sysroot" - CXXFLAGS="$CXXFLAGS -I$WEBOS_PDK/include/SDL" - CXXFLAGS="$CXXFLAGS -DWEBOS" LDFLAGS="$LDFLAGS -L$WEBOS_PDK/device/lib" LDFLAGS="$LDFLAGS -Wl,--allow-shlib-undefined" - LIBS="$LIBS -lSDL -lpdl" add_line_to_config_mk "WEBOS_SDK = $WEBOS_SDK" _unix=yes _seq_midi=no @@ -2056,6 +2053,21 @@ if test -n "$_host"; then _mt32emu=no _vkeybd=yes ;; + webos) + _unix=yes + _need_memalign=yes + add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1' + add_line_to_config_mk 'USE_ARM_SMUSH_ASM = 1' + add_line_to_config_mk 'USE_ARM_GFX_ASM = 1' + add_line_to_config_mk 'USE_ARM_COSTUME_ASM = 1' + add_line_to_config_mk 'USE_ARM_SCALER_ASM = 1' + _backend="webos" + _port_mk="backends/platform/webos/webos.mk" + _build_scalers=no + _timidity=no + _mt32emu=no + _seq_midi=no + ;; wii) _endian=big _need_memalign=yes @@ -2142,7 +2154,7 @@ fi # Enable 16bit support only for backends which support it # case $_backend in - android | dingux | dreamcast | gph | openpandora | psp | samsungtv | sdl | wii) + android | dingux | dreamcast | gph | openpandora | psp | samsungtv | sdl | webos | wii) if test "$_16bit" = auto ; then _16bit=yes else @@ -3118,6 +3130,12 @@ case $_backend in LIBS="$LIBS `$_sdlconfig --prefix="$_sdlpath" --libs`" DEFINES="$DEFINES -DSDL_BACKEND" ;; + webos) + INCLUDES="$INCLUDES -I$WEBOS_PDK/include/SDL" + LIBS="$LIBS -lSDL -lpdl" + DEFINES="$DEFINES -DWEBOS -DSDL_BACKEND" + MODULES="$MODULES backends/platform/sdl" + ;; wii) DEFINES="$DEFINES -D__WII__ -DGEKKO" case $_host_os in -- cgit v1.2.3