WEBOS: Add build support for webos
This commit is contained in:
parent
214f93e6aa
commit
f8a73665d3
1 changed files with 26 additions and 0 deletions
26
configure
vendored
26
configure
vendored
|
@ -698,6 +698,7 @@ Special configuration feature:
|
||||||
ps2 for PlayStation 2
|
ps2 for PlayStation 2
|
||||||
psp for PlayStation Portable
|
psp for PlayStation Portable
|
||||||
samsungtv for Samsung TV
|
samsungtv for Samsung TV
|
||||||
|
webos for HP Palm WebOS
|
||||||
wii for Nintendo Wii
|
wii for Nintendo Wii
|
||||||
wince for Windows CE
|
wince for Windows CE
|
||||||
|
|
||||||
|
@ -1134,6 +1135,11 @@ samsungtv)
|
||||||
_host_cpu=arm
|
_host_cpu=arm
|
||||||
_host_alias=arm-linux-gnueabi
|
_host_alias=arm-linux-gnueabi
|
||||||
;;
|
;;
|
||||||
|
webos)
|
||||||
|
_host_os=webos
|
||||||
|
_host_cpu=arm
|
||||||
|
_host_alias=arm-none-linux-gnueabi
|
||||||
|
;;
|
||||||
wii)
|
wii)
|
||||||
_host_os=wii
|
_host_os=wii
|
||||||
_host_cpu=ppc
|
_host_cpu=ppc
|
||||||
|
@ -1241,6 +1247,16 @@ psp)
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
webos)
|
||||||
|
if test -z "$WEBOS_SDK"; then
|
||||||
|
echo "Please set WEBOS_SDK in your environment. export WEBOS_SDK=<path to WebOS SDK>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
if test -z "$WEBOS_PDK"; then
|
||||||
|
echo "Please set WEBOS_PDK in your environment. export WEBOS_PDK=<path to WebOS PDK>"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -1651,6 +1667,16 @@ case $_host_os in
|
||||||
LIBS="$LIBS -lnsl -lsocket"
|
LIBS="$LIBS -lnsl -lsocket"
|
||||||
_unix=yes
|
_unix=yes
|
||||||
;;
|
;;
|
||||||
|
webos)
|
||||||
|
CXXFLAGS="$CXXFLAGS --sysroot=$WEBOS_PDK/arm-gcc/sysroot"
|
||||||
|
CXXFLAGS="$CXXFLAGS -I$WEBOS_PDK/include/SDL"
|
||||||
|
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
|
||||||
|
;;
|
||||||
wii)
|
wii)
|
||||||
CXXFLAGS="$CXXFLAGS -Os -mrvl -mcpu=750 -meabi -mhard-float"
|
CXXFLAGS="$CXXFLAGS -Os -mrvl -mcpu=750 -meabi -mhard-float"
|
||||||
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections -fmodulo-sched"
|
CXXFLAGS="$CXXFLAGS -ffunction-sections -fdata-sections -fmodulo-sched"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue