From patchwork Sat Jun 7 12:31:26 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 357084 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 481E414009B for ; Sat, 7 Jun 2014 22:32:56 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 350F98CD6C; Sat, 7 Jun 2014 12:32:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QvGjRNbhVICn; Sat, 7 Jun 2014 12:32:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 5F1088CFBE; Sat, 7 Jun 2014 12:32:30 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 473D31C22C0 for ; Sat, 7 Jun 2014 12:31:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 453892FFF2 for ; Sat, 7 Jun 2014 12:31:55 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G2NrGUK3cOaF for ; Sat, 7 Jun 2014 12:31:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout08.t-online.de (mailout08.t-online.de [194.25.134.20]) by silver.osuosl.org (Postfix) with ESMTPS id 0AC873001E for ; Sat, 7 Jun 2014 12:31:53 +0000 (UTC) Received: from fwd35.aul.t-online.de (fwd35.aul.t-online.de [172.20.27.145]) by mailout08.t-online.de (Postfix) with SMTP id 8742F4B8152 for ; Sat, 7 Jun 2014 14:31:51 +0200 (CEST) Received: from fli4l.lan.fli4l (Z6o-DBZHohddLq1OMoGp1CIFrRV1fuBztc7BQG+FZ8mzP6vqPVKv23oCy+4-EKyw2J@[79.247.130.193]) by fwd35.t-online.de with esmtp id 1WtFmn-0mkbaa0; Sat, 7 Jun 2014 14:31:49 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:58966) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1WtFmm-0005Hh-Pr; Sat, 07 Jun 2014 14:31:49 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 7 Jun 2014 14:31:26 +0200 Message-Id: <1402144292-27837-27-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1402144292-27837-1-git-send-email-bernd.kuhls@t-online.de> References: <1402144292-27837-1-git-send-email-bernd.kuhls@t-online.de> X-ID: Z6o-DBZHohddLq1OMoGp1CIFrRV1fuBztc7BQG+FZ8mzP6vqPVKv23oCy+4-EKyw2J X-TOI-MSGID: 5167b19d-d372-435f-bbc3-3fedff015e85 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v12 26/32] xbmc: Fix TexturePacker compile X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Patch description: use_texturepacker_native=yes is needed because we obviously need a native-compiled binary, but the xbmc build system does enable this variable only for darwin, android and raspberry-pi targets. USE_TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" is also needed because USE_TEXTUREPACKER_NATIVE_ROOT="$TEXTUREPACKER_NATIVE_ROOT" is only executed for raspberry-pi by xbmc/configure and only USE_TEXTUREPACKER_NATIVE_ROOT is used by tools/TexturePacker/Makefile.in. To sum up, building for raspberry-pi and other archs works out-of-the-box, compiling for an Intel target, for example, fails: In file included from SDL_anigif.cpp:23:0: SDL_anigif.h:24:21: fatal error: SDL/SDL.h: No such file or directory compilation terminated. XBMCTex.cpp:34:21: fatal error: SDL/SDL.h: No such file or directory Signed-off-by: Bernd Kuhls --- package/xbmc/xbmc.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk index b730e51..fa37525 100644 --- a/package/xbmc/xbmc.mk +++ b/package/xbmc/xbmc.mk @@ -35,6 +35,8 @@ XBMC_CONF_ENV = \ PYTHON_CPPFLAGS="-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)" \ PYTHON_SITE_PKG="$(STAGING_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages" \ PYTHON_NOVERSIONCHECK="no-check" \ + use_texturepacker_native=yes \ + USE_TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" \ TEXTUREPACKER_NATIVE_ROOT="$(HOST_DIR)/usr" XBMC_CONF_OPT += \