From patchwork Thu Mar 27 22:27:42 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Hadjinlian X-Patchwork-Id: 334487 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 20FF31400A0 for ; Fri, 28 Mar 2014 09:28:01 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 58B6A8BD5D; Thu, 27 Mar 2014 22:28:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0o-q_xEauGs0; Thu, 27 Mar 2014 22:28:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D67F18BD39; Thu, 27 Mar 2014 22:27:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 03F2A1BF968 for ; Thu, 27 Mar 2014 22:27:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id F3FA78BD39 for ; Thu, 27 Mar 2014 22:27:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 039i4z9U7CDk for ; Thu, 27 Mar 2014 22:27:58 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 5206C8BD2B for ; Thu, 27 Mar 2014 22:27:58 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id f8so105311wiw.0 for ; Thu, 27 Mar 2014 15:27:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=WUe6muNPCOawUFoul7nLFmENbnaJpo5UDRI/YfNqL8U=; b=BXsOpuTdEFFtVOoz7lllED4z8b+vz+IKflE3930KCDdy78wtFpTN1WQWOU9D/BHHU6 hlS49Tglhnpb383mMPtmsthO/Erk6ogWozC6QcfVDgcIe73tAKj6SzNasRaZ4PBpTLNj FBO7AskRQPR3+zWn2YLLUKgLdWkBwQykx07ucdOK3XUHoSbo1m1tYlpba2rV5rWdYMtS euRFoHcdf2BqQLvwtpmCT2qpERjyrz1pY1iIx5p5YrBWE0hYIybzAq1ZdBzauDbk1XSe mtmrzN7j/NK+a5v7Y8YcYqTzY36FVK092UXVaiDYo61rdTrQ7iI3mHGaf78B0UOHPp/b iPKA== X-Received: by 10.180.187.16 with SMTP id fo16mr43034192wic.26.1395959276935; Thu, 27 Mar 2014 15:27:56 -0700 (PDT) Received: from localhost (13-105-190-109.dsl.ovh.fr. [109.190.105.13]) by mx.google.com with ESMTPSA id n15sm798709wij.3.2014.03.27.15.27.50 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 27 Mar 2014 15:27:56 -0700 (PDT) From: Maxime Hadjinlian To: buildroot@buildroot.org Date: Thu, 27 Mar 2014 23:27:42 +0100 Message-Id: <1395959262-25285-1-git-send-email-maxime.hadjinlian@gmail.com> X-Mailer: git-send-email 1.9.0 Subject: [Buildroot] [PATCH] sdl: Fix host variant dependencies 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 The host variant of sdl inherited the dependencies and conf opt from sdl which could lead to some trouble. For example: If you were to build host-sdl and had alsa-lib enabled in your packages list, it would try to build host-alsa-lib which does not exists. This patch define basic dependencies and conf opt for the host variant. Reported-by: Eric Limpens Signed-off-by: Maxime Hadjinlian --- package/sdl/sdl.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/sdl/sdl.mk b/package/sdl/sdl.mk index d5fb331..086f5e9 100644 --- a/package/sdl/sdl.mk +++ b/package/sdl/sdl.mk @@ -21,6 +21,7 @@ SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN HOST_SDL_PRE_CONFIGURE_HOOKS += SDL_RUN_AUTOGEN SDL_DEPENDENCIES += host-automake host-autoconf host-libtool +HOST_SDL_DEPENDENCIES += host-automake host-autoconf host-libtool ifeq ($(BR2_PACKAGE_SDL_FBCON),y) SDL_CONF_OPT += --enable-video-fbcon=yes @@ -70,6 +71,12 @@ SDL_CONF_OPT += --enable-pulseaudio=no \ --disable-nasm \ --disable-video-ps3 +HOST_SDL_CONF_OPT += --enable-pulseaudio=no \ + --disable-arts \ + --disable-esd \ + --disable-nasm \ + --disable-video-ps3 + SDL_CONFIG_SCRIPTS = sdl-config # Remove the -Wl,-rpath option.