583432b94b
Removed 0003-Use-gnu-11-standard-to-prevent-errors-on-PPC.patch, since stella now uses -std=c++14 that builds fine when using PPC altivec vectorization. Removed 0004-gcc7.patch, backported from upstream. Update toolchain dependencies to gcc 4.9 since codebase now uses C++14 features. Signed-off-by: Sergio Prado <sergio.prado@e-labworks.com> [Arnout: also remove 0004-gcc7.patch] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
39 lines
1006 B
Makefile
39 lines
1006 B
Makefile
################################################################################
|
|
#
|
|
# stella
|
|
#
|
|
################################################################################
|
|
|
|
STELLA_VERSION = 5.0.1
|
|
STELLA_SOURCE = stella-$(STELLA_VERSION)-src.tar.xz
|
|
STELLA_SITE = https://github.com/stella-emu/stella/releases/download/$(STELLA_VERSION)
|
|
STELLA_LICENSE = GPL-2.0+
|
|
STELLA_LICENSE_FILES = Copyright.txt License.txt
|
|
|
|
STELLA_DEPENDENCIES = sdl2 libpng zlib
|
|
|
|
STELLA_CONF_OPTS = \
|
|
--host=$(GNU_TARGET_NAME) \
|
|
--prefix=/usr \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr
|
|
|
|
# The configure script is not autoconf based, so we use the
|
|
# generic-package infrastructure
|
|
define STELLA_CONFIGURE_CMDS
|
|
(cd $(@D); \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
$(TARGET_CONFIGURE_ARGS) \
|
|
./configure $(STELLA_CONF_OPTS) \
|
|
)
|
|
endef
|
|
|
|
define STELLA_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define STELLA_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) DESTDIR="$(TARGET_DIR)" -C $(@D) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|