mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
libretro-mame2010: update to latest
This commit is contained in:
parent
00f47b95d2
commit
34094ab558
@ -2,16 +2,12 @@
|
||||
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="libretro-mame2010"
|
||||
PKG_VERSION="3a9d2ff"
|
||||
PKG_SHA256="e60cad55518281516778b943723b6d1ae4a17b096124f108dd27520862175f5b"
|
||||
PKG_ARCH="any"
|
||||
PKG_VERSION="70732f9137f6bb2bde4014746ea8bc613173dd1e"
|
||||
PKG_SHA256="36ab11541233c9a4240baf6f0a529d8d335dce23f25b66b950e18373fd8e65fb"
|
||||
PKG_LICENSE="GPLv2"
|
||||
PKG_SITE="https://github.com/libretro/mame2010-libretro"
|
||||
PKG_URL="https://github.com/libretro/mame2010-libretro/archive/$PKG_VERSION.tar.gz"
|
||||
PKG_SOURCE_DIR="mame2010-libretro-$PKG_VERSION*"
|
||||
PKG_DEPENDS_TARGET="toolchain kodi-platform"
|
||||
PKG_SECTION="emulation"
|
||||
PKG_SHORTDESC="Late 2010 version of MAME (0.139) for libretro"
|
||||
PKG_DEPENDS_TARGET="toolchain"
|
||||
PKG_LONGDESC="Late 2010 version of MAME (0.139) for libretro"
|
||||
|
||||
PKG_LIBNAME="mame2010_libretro.so"
|
||||
|
@ -1,7 +1,8 @@
|
||||
diff -Naur a/Makefile b/Makefile
|
||||
--- a/Makefile 2016-01-14 22:42:59.000000000 +0100
|
||||
+++ b/Makefile 2016-01-18 11:50:36.918881873 +0100
|
||||
@@ -60,7 +60,7 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index deb8820..aa13d3b 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -61,7 +61,7 @@ COBJFLAGS =
|
||||
CPPONLYFLAGS =
|
||||
# LDFLAGS are used generally; LDFLAGSEMULATOR are additional
|
||||
# flags only used when linking the core emulator
|
||||
@ -9,9 +10,9 @@ diff -Naur a/Makefile b/Makefile
|
||||
+LDFLAGS ?=
|
||||
LDFLAGSEMULATOR =
|
||||
|
||||
# uncomment next line to build expat as part of MAME build
|
||||
@@ -90,24 +90,22 @@
|
||||
CCOMFLAGS += -DHAVE_GL
|
||||
GIT_VERSION ?= " $(shell git rev-parse --short HEAD || echo unknown)"
|
||||
@@ -104,24 +104,22 @@ ifeq ($(VRENDER),opengl)
|
||||
CCOMFLAGS += -DHAVE_OPENGL
|
||||
endif
|
||||
|
||||
-UNAME=$(shell uname -m)
|
||||
@ -40,7 +41,7 @@ diff -Naur a/Makefile b/Makefile
|
||||
BIGENDIAN=1
|
||||
endif
|
||||
|
||||
@@ -124,14 +122,10 @@
|
||||
@@ -143,14 +141,10 @@ ifeq ($(VRENDER),opengl)
|
||||
LIBS += -lGL
|
||||
endif
|
||||
LDFLAGS += $(SHARED)
|
||||
@ -55,11 +56,11 @@ diff -Naur a/Makefile b/Makefile
|
||||
+ CC_AS ?= $(CC)
|
||||
+ CC ?= g++
|
||||
+ AR ?= @ar
|
||||
+ LD ?= g++
|
||||
+ LD ?= g++
|
||||
CCOMFLAGS += $(PLATCFLAGS) -ffast-math
|
||||
LIBS += -lstdc++ -lpthread
|
||||
|
||||
@@ -284,10 +278,13 @@
|
||||
@@ -345,10 +339,13 @@ else ifneq (,$(findstring rpi,$(platform)))
|
||||
|
||||
# ARM
|
||||
else ifneq (,$(findstring armv,$(platform)))
|
||||
@ -72,10 +73,10 @@ diff -Naur a/Makefile b/Makefile
|
||||
fpic = -fPIC
|
||||
- CC = g++
|
||||
+ CC ?= g++
|
||||
ifneq (,$(findstring cortexa8,$(platform)))
|
||||
CFLAGS += -marm -mcpu=cortex-a8
|
||||
ASFLAGS += -mcpu=cortex-a8
|
||||
@@ -505,7 +502,7 @@
|
||||
LDFLAGS += $(SHARED)
|
||||
ARM_ENABLED = 1
|
||||
X86_SH2DRC = 0
|
||||
@@ -568,7 +565,7 @@ DEFS += -DFLAC__NO_DLL
|
||||
|
||||
# CFLAGS is defined based on C or C++ targets
|
||||
# (remember, expansion only happens when used, so doing it here is ok)
|
||||
|
Loading…
x
Reference in New Issue
Block a user