3ce5f4d27d
Since commit 120a3efeec
from Romain, Opentyrian
upstream has fixed the build problem on Blackfin (in a slightly different way).
So bump to latest revision to not keep the fix in BR.
Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com>
Reviewed-by: Romain Naour <romain.naour@openwide.fr>
Tested-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
37 lines
911 B
Makefile
37 lines
911 B
Makefile
################################################################################
|
|
#
|
|
# opentyrian
|
|
#
|
|
################################################################################
|
|
|
|
OPENTYRIAN_VERSION = 9c9f0ec3532b
|
|
OPENTYRIAN_SITE = https://code.google.com/p/opentyrian/
|
|
OPENTYRIAN_SITE_METHOD = hg
|
|
OPENTYRIAN_LICENSE = GPLv2+
|
|
OPENTYRIAN_LICENSE_FILES = COPYING
|
|
|
|
OPENTYRIAN_DEPENDENCIES = sdl
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENTYRIAN_NET),y)
|
|
OPENTYRIAN_DEPENDENCIES += sdl_net
|
|
OPENTYRIAN_NETWORK = true
|
|
else
|
|
OPENTYRIAN_NETWORK = false
|
|
endif
|
|
|
|
define OPENTYRIAN_BUILD_CMDS
|
|
$(MAKE) PLATFORM=UNIX \
|
|
CC="$(TARGET_CC)" \
|
|
STRIP="/bin/true" \
|
|
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
|
|
LDFLAGS="-lm" \
|
|
WITH_NETWORK="$(OPENTYRIAN_NETWORK)" \
|
|
-C $(@D) release
|
|
endef
|
|
|
|
define OPENTYRIAN_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/opentyrian $(TARGET_DIR)/usr/bin/opentyrian
|
|
endef
|
|
|
|
$(eval $(generic-package))
|