From patchwork Sun Feb 2 12:11:20 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas De Schampheleire X-Patchwork-Id: 315999 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id EAA812C009C for ; Sun, 2 Feb 2014 23:11:54 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id DCFAA93AA2; Sun, 2 Feb 2014 12:11:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jPlLJi1MLnSg; Sun, 2 Feb 2014 12:11:47 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 4E21D93A2F; Sun, 2 Feb 2014 12:11:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C25E71BF94F for ; Sun, 2 Feb 2014 12:11:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BAC5F8B406 for ; Sun, 2 Feb 2014 12:11:43 +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 JvV3ivFOhNXn for ; Sun, 2 Feb 2014 12:11:42 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by whitealder.osuosl.org (Postfix) with ESMTPS id 1DA2183A32 for ; Sun, 2 Feb 2014 12:11:41 +0000 (UTC) Received: by mail-we0-f172.google.com with SMTP id p61so1187422wes.31 for ; Sun, 02 Feb 2014 04:11:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:in-reply-to:references:user-agent:date:from:to; bh=liz9gFNoUCrioxsPWyD2401xHFBYmCX7KuDoYwzupR8=; b=Pn07eYCw4EmR/VkPhCNlNjSKKeMzEwrc0iPBh10E/N+FlY3mw+yF6ei/zSqKn8xnAJ Z2EqrfDQofgeIKCv/DlZqvjOhRhC9Gm4FazAeMmcA9uWK6fUK4eaZ3EG595Smc0LcBQ4 9T/Sds7CUn9WdLXRPZiriJPVS590bTRNK3KJvl3bPDFpAPO0rUoCkNKuKnfuK6afPkpQ uFEGEG9hrXx+WO0gvbUwTsrjVXtS2fe7zM0zjQJSv8LzxVp1Y5xGsBfUDB6uL8YenJzP KbfeazAIjnfXPri4UqNnneYOtm5By8wVlgxP/xM7Mn9OM5Q7to2MAGxvQAKaPFw8QR/f RNkQ== X-Received: by 10.194.58.132 with SMTP id r4mr782471wjq.45.1391343100597; Sun, 02 Feb 2014 04:11:40 -0800 (PST) Received: from [127.0.1.1] (d54C62EEB.access.telenet.be. [84.198.46.235]) by mx.google.com with ESMTPSA id ea4sm15523490wib.7.2014.02.02.04.11.38 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 02 Feb 2014 04:11:39 -0800 (PST) MIME-Version: 1.0 X-Mercurial-Node: 31daed037a4dabdb64665f8d332719d95151e755 Message-Id: <31daed037a4dabdb6466.1391343080@argentina> In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.2.2 Date: Sun, 02 Feb 2014 13:11:20 +0100 From: Thomas De Schampheleire To: buildroot@busybox.net Subject: [Buildroot] [PATCH 5 of 9] alsa-lib: automatically enable python bindings if python is enabled 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: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net For packages with optional python bindings, these bindings can be enabled automatically when python is enabled. There is no need for explicit configuration options, unless there is a very good reason to do so. No legacy option was enabled as there is no impact on users that had the original explicit symbol enabled. Signed-off-by: Thomas De Schampheleire --- package/alsa-lib/Config.in | 9 --------- package/alsa-lib/alsa-lib.mk | 2 +- 2 files changed, 1 insertions(+), 10 deletions(-) diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in --- a/package/alsa-lib/Config.in +++ b/package/alsa-lib/Config.in @@ -20,15 +20,6 @@ comment "alsa-lib needs a toolchain w/ t if BR2_PACKAGE_ALSA_LIB -config BR2_PACKAGE_ALSA_LIB_PYTHON - bool "Python support for alsa-lib" - depends on BR2_PACKAGE_PYTHON - help - Add python support for alsa-lib. - Python will be built and libpython will be installed - in the target directory - http://www.alsa-project.org/ - menu "ALSA lib selection" config BR2_PACKAGE_ALSA_LIB_DEVDIR diff --git a/package/alsa-lib/alsa-lib.mk b/package/alsa-lib/alsa-lib.mk --- a/package/alsa-lib/alsa-lib.mk +++ b/package/alsa-lib/alsa-lib.mk @@ -57,7 +57,7 @@ ifeq ($(BR2_avr32),y) ALSA_LIB_CFLAGS += -DAVR32_INLINE_BUG endif -ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y) +ifeq ($(BR2_PACKAGE_PYTHON),y) ALSA_LIB_CONF_OPT += \ --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \ --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)