From patchwork Sun Jun 12 09:30:21 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 634168 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rS9dC4ljGz9t0F for ; Sun, 12 Jun 2016 19:30:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 77CD48C0D2; Sun, 12 Jun 2016 09:30:52 +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 xBHuONyfDDlN; Sun, 12 Jun 2016 09:30:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C0A958C023; Sun, 12 Jun 2016 09:30:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 2ED8D1C0B8F for ; Sun, 12 Jun 2016 09:30:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2BA16930C7 for ; Sun, 12 Jun 2016 09:30:33 +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 rezUvEcsiJrn for ; Sun, 12 Jun 2016 09:30:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by hemlock.osuosl.org (Postfix) with ESMTPS id A0F37930B6 for ; Sun, 12 Jun 2016 09:30:31 +0000 (UTC) Received: from fwd30.aul.t-online.de (fwd30.aul.t-online.de [172.20.26.135]) by mailout05.t-online.de (Postfix) with SMTP id 7EF424230222 for ; Sun, 12 Jun 2016 11:30:29 +0200 (CEST) Received: from fli4l.lan.fli4l (bNe2CUZCohAPq+z33NV-krBMbqU1q0VTwuf2QZVACGkLl3KG9M0ky5Ao62314P7Q1O@[84.178.233.205]) by fwd30.t-online.de with (TLSv1:ECDHE-RSA-AES256-SHA encrypted) esmtp id 1bC1is-3XMLuS0; Sun, 12 Jun 2016 11:30:26 +0200 Received: from mahler.lan.fli4l ([192.168.1.1]:57918 helo=kuhls.lan.fli4l) by fli4l.lan.fli4l with esmtp (Exim 4.87) (envelope-from ) id 1bC1ir-0007vs-Hd; Sun, 12 Jun 2016 11:30:25 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 12 Jun 2016 11:30:21 +0200 Message-Id: <1465723823-6113-3-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1465723823-6113-1-git-send-email-bernd.kuhls@t-online.de> References: <1465723823-6113-1-git-send-email-bernd.kuhls@t-online.de> X-ID: bNe2CUZCohAPq+z33NV-krBMbqU1q0VTwuf2QZVACGkLl3KG9M0ky5Ao62314P7Q1O X-TOI-MSGID: e324389c-8f57-4748-a55f-340032ca8c83 Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 3/5] package/libv4l: add optional support for alsa-lib X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" Add alsa-lib as optional dependency to get a reproducable build. Without this patch configure logs: checking for ALSA... no configure: WARNING: ALSA library not available After this patch alsa-lib was built before libv4l: checking for ALSA... yes Signed-off-by: Bernd Kuhls --- package/libv4l/libv4l.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/libv4l/libv4l.mk b/package/libv4l/libv4l.mk index d0a0369..e7a57f0 100644 --- a/package/libv4l/libv4l.mk +++ b/package/libv4l/libv4l.mk @@ -18,6 +18,10 @@ LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' LIBV4L_LICENSE = GPLv2+ (utilities), LGPLv2.1+ (libraries) LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt +ifeq ($(BR2_PACKAGE_ALSA_LIB),y) +LIBV4L_DEPENDENCIES += alsa-lib +endif + ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y) LIBV4L_DEPENDENCIES += argp-standalone LIBV4L_LIBS += -largp