Merge pull request #1482 from rishooty/amd64mupencores

mupen refactor 2 electric bogaloo
This commit is contained in:
fewtarius 2023-05-28 19:14:11 -04:00 committed by GitHub
commit f5be30dd9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 27 additions and 54 deletions

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"
export SDL_LDLIBS="-lSDL2_net -lSDL2" export SDL_LDLIBS="-lSDL2_net -lSDL2"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -26,12 +26,6 @@ PKG_MAKE_OPTS_TARGET+="HLEVIDEO=1"
# fi # fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
@ -39,6 +33,9 @@ make_target() {
export USE_GLES=1 export USE_GLES=1
CPPFLAGS="-DUSE_SSE2NEON" CPPFLAGS="-DUSE_SSE2NEON"
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -19,12 +19,6 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
@ -32,6 +26,9 @@ make_target() {
export USE_GLES=1 export USE_GLES=1
PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DEGL=On -DNEON_OPT=On" PKG_MAKE_OPTS_TARGET+="-DNOHQ=On -DCRC_ARMV8=On -DEGL=On -DNEON_OPT=On"
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"

View file

@ -20,18 +20,15 @@ if [ "${OPENGLES_SUPPORT}" = yes ]; then
fi fi
make_target() { make_target() {
case ${DEVICE} in
AMD64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac
case ${ARCH} in case ${ARCH} in
arm|aarch64) arm|aarch64)
export HOST_CPU=aarch64 export HOST_CPU=aarch64
BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi" BINUTILS="$(get_build_dir binutils)/.aarch64-libreelec-linux-gnueabi"
export USE_GLES=1 export USE_GLES=1
;; ;;
x86_64)
PKG_MAKE_OPTS_TARGET+="USE_GLES=0"
;;
esac esac
export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus export APIDIR=$(get_build_dir mupen64plus-sa-core)/.install_pkg/usr/local/include/mupen64plus
export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread" export SDL_CFLAGS="-I${SYSROOT_PREFIX}/usr/include/SDL2 -pthread"