File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+ # vim: set ts=3 sw=3 noet ft=sh : bash
3+
4+ SCRIPT=" ${0# ./ } "
5+ BASE_DIR=" ${SCRIPT%/* } "
6+ WORKDIR=" $PWD "
7+
8+ if [ " $BASE_DIR " = " $SCRIPT " ]; then
9+ BASE_DIR=" $WORKDIR "
10+ else
11+ if [[ " $0 " != /* ]]; then
12+ # Make the path absolute
13+ BASE_DIR=" $WORKDIR /$BASE_DIR "
14+ fi
15+ fi
16+
17+ platform=webos ${BASE_DIR} /libretro-build.sh $@
Original file line number Diff line number Diff line change @@ -678,6 +678,19 @@ case "$platform" in
678678 CXX11=" clang++ -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.0"
679679
680680 ;;
681+ webos)
682+ DIST_DIR=" webos"
683+ FORMAT_EXT=so
684+ FORMAT_COMPILER_TARGET=webos
685+
686+ # Makefile.libretro per core will need a webos section, but for now:
687+ WEBOS_CFLAGS=" -mcpu=cortex-a9 -mtune=cortex-a53 -mfloat-abi=softfp"
688+
689+ CC=" arm-webos-linux-gnueabi-gcc $WEBOS_CFLAGS "
690+ CXX=" arm-webos-linux-gnueabi-g++ $WEBOS_CFLAGS "
691+ CXX11=" arm-webos-linux-gnueabi-g++ -std=c++11 -stdlib=libc++ $WEBOS_CFLAGS "
692+ CXX17=" arm-webos-linux-gnueabi-g++ -std=c++17 -stdlib=libc++ $WEBOS_CFLAGS "
693+ ;;
681694
682695 # #
683696 # # Original libretro-config path
You can’t perform that action at this time.
0 commit comments