Commit 7e53eb51 authored by Bkg2k's avatar Bkg2k

fix(ci): fix retroarch and mame2015 build + remove mame2016

parent 24d4ed1c
......@@ -294,7 +294,6 @@ BR2_PACKAGE_LIBRETRO_VICE=y
BR2_PACKAGE_LIBRETRO_HANDY=y
BR2_PACKAGE_LIBRETRO_MAME2010=y
BR2_PACKAGE_LIBRETRO_MAME2015=y
BR2_PACKAGE_LIBRETRO_MAME2016=y
BR2_PACKAGE_LIBRETRO_PX68K=y
BR2_PACKAGE_LIBRETRO_THEODORE=y
BR2_PACKAGE_LIBRETRO_ATARI800=y
......
......@@ -8,10 +8,20 @@ LIBRETRO_MAME2015_VERSION = d43c94fde66ce419800882a344002a2736d163df
LIBRETRO_MAME2015_SITE = $(call github,libretro,mame2015-libretro,$(LIBRETRO_MAME2015_VERSION))
LIBRETRO_MAME2015_LICENSE = MAME
ifeq ($(BR2_PACKAGE_RECALBOX_TARGET_XU4),y)
LIBRETRO_MAME2015_CFLAGSO = $(COMPILER_COMMONS_CFLAGS_NOLTO)
LIBRETRO_MAME2015_CXXFLAGSO = $(COMPILER_COMMONS_CXXFLAGS_NOLTO)
LIBRETRO_MAME2015_LDFLAGS = $(COMPILER_COMMONS_LDFLAGS_NOLTO)
else
LIBRETRO_MAME2015_CFLAGSO = $(COMPILER_COMMONS_CFLAGS_SO)
LIBRETRO_MAME2015_CXXFLAGSO = $(COMPILER_COMMONS_CXXFLAGS_SO)
LIBRETRO_MAME2015_LDFLAGS = $(COMPILER_COMMONS_LDFLAGS_SO)
endif
define LIBRETRO_MAME2015_BUILD_CMDS
$(SED) "s|^CONLYFLAGS =|CONLYFLAGS = $(COMPILER_COMMONS_CFLAGS_SO)|g" $(@D)/Makefile
$(SED) "s|^CPPONLYFLAGS =|CPPONLYFLAGS = $(COMPILER_COMMONS_CXXFLAGS_SO)|g" $(@D)/Makefile
$(SED) "s|^LDFLAGS =|LDFLAGS = $(COMPILER_COMMONS_LDFLAGS_SO) -lm|g" $(@D)/Makefile
$(SED) "s|^CONLYFLAGS =|CONLYFLAGS = $(LIBRETRO_MAME2015_CFLAGSO)|g" $(@D)/Makefile
$(SED) "s|^CPPONLYFLAGS =|CPPONLYFLAGS = $(LIBRETRO_MAME2015_CXXFLAGSO)|g" $(@D)/Makefile
$(SED) "s|^LDFLAGS =|LDFLAGS = $(LIBRETRO_MAME2015_LDFLAGS) -lm|g" $(@D)/Makefile
$(SED) "s|-O2|-O3|g" $(@D)/Makefile
$(SED) "s|-O0|-O3|g" $(@D)/src/lib/lib.mak
$(MAKE) REALCC="$(TARGET_CC)" CC="$(TARGET_CC)" CXX="$(TARGET_CXX)" LD="$(TARGET_CC)" AR="$(TARGET_CC)-ar" \
......
......@@ -31,10 +31,10 @@ endif
# RPI 2 and 3
ifeq ($(BR2_cortex_a7),y)
RETROARCH_CONF_OPTS += --enable-neon --enable-floathard
RETROARCH_CONF_OPTS += --enable-floathard
endif
ifeq ($(BR2_arm)$(BR2_cortex_a53),yy)
RETROARCH_CONF_OPTS += --enable-neon --enable-floathard
RETROARCH_CONF_OPTS += --enable-floathard
endif
ifeq ($(BR2_ARM_CPU_HAS_NEON),y)
......@@ -47,8 +47,8 @@ RETROARCH_CONF_OPTS += --enable-dispmanx --disable-opengl1
endif
# odroid xu4
ifeq ($(BR2_cortex_a15)$(BR2_cortex_a15_a7),y)
RETROARCH_CONF_OPTS += --enable-neon --enable-floathard --disable-opengl1
ifeq ($(BR2_PACKAGE_RECALBOX_TARGET_XU4),y)
RETROARCH_CONF_OPTS += --enable-floathard --disable-opengl1 --disable-opengl
endif
# x86 : SSE
......@@ -59,7 +59,7 @@ endif
# Common
RETROARCH_CONF_OPTS += --enable-rgui --enable-xmb --enable-ozone
RETROARCH_CONF_OPTS += --enable-threads --enable-dylib
RETROARCH_CONF_OPTS += --enable-flac
RETROARCH_CONF_OPTS += --enable-flac --enable-lua
RETROARCH_CONF_OPTS += --enable-networking
# Package dependant
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment