optimize SDK

Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
Michel-FK
2020-12-25 15:46:52 +01:00
parent 63bb57f1b8
commit 2e1990a653
50 changed files with 7876 additions and 141 deletions

View File

@@ -4,7 +4,7 @@
#
################################################################################
RETROFE_VERSION = 9dad33d
RETROFE_VERSION = 63180b9
RETROFE_SITE_METHOD = git
RETROFE_SITE = https://github.com/FunKey-Project/RetroFE.git
RETROFE_DEPENDENCIES = gstreamer1 gst1-plugins-base sdl sdl_image sdl_mixer sdl_sound sdl_ttf libglib2 sqlite zlib
@@ -15,9 +15,16 @@ RETROFE_SUBDIR = RetroFE/Source
RETROFE_SUPPORTS_IN_SOURCE_BUILD = NO
RETROFE_CONF_OPTS += -DVERSION_MAJOR=0 -DVERSION_MINOR=0 -DVERSION_BUILD=0
ifeq ($(BR2_PACKAGE_LIBMIKMOD),y)
RETROFE_DEPENDENCIES += libmikmod
RETROFE_CONF_OPTS += -DLIBMIKMOD=1
endif
define RETROFE_INSTALL_TARGET_CMDS
$(INSTALL) -d -m 0755 $(TARGET_DIR)/usr/games
$(INSTALL) -m 0755 $(@D)/RetroFE/Build/retrofe $(TARGET_DIR)/usr/games/retrofe
endef
TARGET_CFLAGS += -O3
$(eval $(cmake-package))