From fbddcd227c26995d2933517b9dbb2d7dd3d5c9b6 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 8 Feb 2015 20:09:58 +0100 Subject: add basic support for raspberry pi2 Introduce new board symbols for embedded systems, which use the similar board as basis. As for example raspberry pi and raspberry pi2. And some more updates: Update binutils to 2.25, set gcc 4.9.2 as default. Update glibc to 2.21, set as default. Update gdb to 7.8.2. Update kodi to latest release. --- package/kodi/Makefile | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) (limited to 'package/kodi') diff --git a/package/kodi/Makefile b/package/kodi/Makefile index 7e90ba9ed..4242bbf34 100644 --- a/package/kodi/Makefile +++ b/package/kodi/Makefile @@ -4,9 +4,9 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= kodi -PKG_VERSION:= 14.0 -PKG_RELEASE:= 4 -PKG_HASH:= 11746d95cc59361f36ce6ea9d0d36bbd9ec3376e991f5ec1720f8ff740b91192 +PKG_VERSION:= 14.1 +PKG_RELEASE:= 1 +PKG_HASH:= a38059e292cf8523918834e49fcc2d688525ceb7951ddf7f5ee535f4147255d6 PKG_DESCR:= software media player PKG_SECTION:= mm/video PKG_DEPENDS:= boost python2 libstdcxx glibc-gconv @@ -31,7 +31,7 @@ PKG_URL:= http://kodi.tv/ PKG_SITES:= http://mirrors.kodi.tv/releases/source/ DISTFILES:= $(PKG_VERSION)-Helix.tar.gz -WRKDIST= $(WRKDIR)/xbmc-14.0-Helix +WRKDIST= $(WRKDIR)/xbmc-14.1-Helix PKG_CHOICES_KODI:= WITH_LIBRESSL WITH_OPENSSL PKGCD_WITH_LIBRESSL:= with libressl @@ -75,9 +75,11 @@ PKG_LIBC_DEPENDS:= glibc PKG_DEPENDS_RASPBERRY_PI:= bcm2835-vc PKG_BUILDDEP_RASPBERRY_PI:= bcm2835-vc +PKG_DEPENDS_RASPBERRY_PI2:= bcm2835-vc +PKG_BUILDDEP_RASPBERRY_PI2:= bcm2835-vc PKG_DEPENDS_SOLIDRUN_IMX6:= libfslvpuwrap gpu-viv-bin-mx6q PKG_BUILDDEP_SOLIDRUN_IMX6:= libfslvpuwrap gpu-viv-bin-mx6q -PKG_SYSTEM_DEPENDS:= raspberry-pi solidrun-imx6 +PKG_SYSTEM_DEPENDS:= raspberry-pi raspberry-pi2 solidrun-imx6 DIFF_IGNOREFILES:= configure missing depcomp install-sh INSTALL \ aclocal.m4 config.h.in @@ -98,6 +100,12 @@ TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/opt/vc/include \ -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vmcs_host/linux TARGET_LDFLAGS+= -L$(STAGING_TARGET_DIR)/opt/vc/lib endif +ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y) +TARGET_CPPFLAGS+= -I$(STAGING_TARGET_DIR)/opt/vc/include \ + -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vcos/pthreads \ + -I$(STAGING_TARGET_DIR)/opt/vc/include/interface/vmcs_host/linux +TARGET_LDFLAGS+= -L$(STAGING_TARGET_DIR)/opt/vc/lib +endif AUTOTOOL_STYLE:= autoreconf CONFIGURE_ENV+= DESTDIR='${WRKINST}' \ @@ -176,6 +184,13 @@ CONFIGURE_ARGS+= --with-platform=raspberry-pi \ --disable-sdl \ --disable-x11 endif +ifeq ($(ADK_TARGET_SYSTEM_RASPBERRY_PI2),y) +CONFIGURE_ARGS+= --with-platform=raspberry-pi \ + --enable-player=omxplayer \ + --enable-gles \ + --disable-sdl \ + --disable-x11 +endif ifeq ($(ADK_TARGET_SYSTEM_SOLIDRUN_IMX6),y) CONFIGURE_ARGS+= --disable-x11 \ --disable-sdl \ -- cgit v1.2.3