From patchwork Wed Nov 28 16:12:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 1004632 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=trabucayre.com Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 434mZM4q7Tz9s2P for ; Thu, 29 Nov 2018 03:39:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 49071815F2; Wed, 28 Nov 2018 16:39:03 +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 Tiu8kKBTNEXC; Wed, 28 Nov 2018 16:38:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id A9D6B8172A; Wed, 28 Nov 2018 16:38:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 9DC901C2E26 for ; Wed, 28 Nov 2018 16:38:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9AC3081693 for ; Wed, 28 Nov 2018 16:38: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 0Dq23ST-hloK for ; Wed, 28 Nov 2018 16:38:55 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail (kmf.trabucayre.com [91.121.117.161]) by whitealder.osuosl.org (Postfix) with ESMTP id 93589816D2 for ; Wed, 28 Nov 2018 16:38:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by mail (Postfix) with ESMTP id C85D03985C; Wed, 28 Nov 2018 17:12:43 +0100 (CET) From: Gwenhael Goavec-Merou To: buildroot@busybox.net Date: Wed, 28 Nov 2018 17:12:33 +0100 Message-Id: <1543421561-37355-3-git-send-email-gwenj@trabucayre.com> X-Mailer: git-send-email 1.6.4.2 In-Reply-To: <1543421561-37355-2-git-send-email-gwenj@trabucayre.com> References: <1543421561-37355-1-git-send-email-gwenj@trabucayre.com> <1543421561-37355-2-git-send-email-gwenj@trabucayre.com> Subject: [Buildroot] [PATCH 03/11] aubio: update DEPENDENCIES to fft-single or fft-double depending on enabled option X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gwenhael Goavec-Merou MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Gwenhael Goavec-Merou Signed-off-by: Gwenhael Goavec-Merou --- package/aubio/aubio.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b0cc8b899e..20dd8c13cb 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -28,7 +28,7 @@ endif # Could not compile aubio in double precision mode with libsamplerate ifeq ($(BR2_PACKAGE_LIBSAMPLERATE)$(BR2_PACKAGE_FFTW_PRECISION_SINGLE),yy) -AUBIO_DEPENDENCIES += libsamplerate +AUBIO_DEPENDENCIES += libsamplerate fftw-single AUBIO_CONF_OPTS += --enable-samplerate else AUBIO_CONF_OPTS += --disable-samplerate @@ -42,12 +42,13 @@ AUBIO_CONF_OPTS += --disable-jack endif ifeq ($(BR2_PACKAGE_FFTW),y) -AUBIO_DEPENDENCIES += fftw # fftw3 require double otherwise it will look for fftw3f ifeq ($(BR2_PACKAGE_FFTW_PRECISION_DOUBLE),y) AUBIO_CONF_OPTS += --enable-fftw3 --enable-double +AUBIO_DEPENDENCIES += fftw-double else ifeq ($(BR2_PACKAGE_FFTW_PRECISION_SINGLE),y) AUBIO_CONF_OPTS += --enable-fftw3f --disable-double +AUBIO_DEPENDENCIES += fftw-single endif else # !BR2_PACKAGE_FFTW AUBIO_CONF_OPTS += --disable-fftw3