From patchwork Wed Sep 2 17:44:54 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gwenhael Goavec-Merou X-Patchwork-Id: 513590 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 119831402A1 for ; Thu, 3 Sep 2015 03:42:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2B80AA48C2; Wed, 2 Sep 2015 17:42:36 +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 aHrCfVtjw6Rp; Wed, 2 Sep 2015 17:42:34 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 99A5EA48B8; Wed, 2 Sep 2015 17:42:34 +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 0B5101C1EE9 for ; Wed, 2 Sep 2015 17:42:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0660291FC2 for ; Wed, 2 Sep 2015 17:42:34 +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 ictk-4LwbRx2 for ; Wed, 2 Sep 2015 17:42:32 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from smtp3-g21.free.fr (smtp3-g21.free.fr [212.27.42.3]) by whitealder.osuosl.org (Postfix) with ESMTPS id 01CC791FC0 for ; Wed, 2 Sep 2015 17:42:31 +0000 (UTC) Received: from x230.trabucayre.com (unknown [78.252.129.8]) by smtp3-g21.free.fr (Postfix) with ESMTP id C17C7A620F; Wed, 2 Sep 2015 19:42:28 +0200 (CEST) From: Gwenhael Goavec-Merou To: buildroot@busybox.net Date: Wed, 2 Sep 2015 19:44:54 +0200 Message-Id: <1441215894-31473-1-git-send-email-gwenj@trabucayre.com> X-Mailer: git-send-email 2.4.6 Cc: Gwenhael Goavec-Merou Subject: [Buildroot] [PATCH 1/1] gnuradio: gnuradio-python gnuradio-utils: add missing dependency to python-numpy 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" From: Gwenhael Goavec-Merou Some python blocks needs python-numpy present. Signed-off-by: Gwenhael Goavec-Merou --- package/gnuradio/Config.in | 9 ++++++++- package/gnuradio/gnuradio.mk | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/gnuradio/Config.in b/package/gnuradio/Config.in index e264a21..ea37d74 100644 --- a/package/gnuradio/Config.in +++ b/package/gnuradio/Config.in @@ -43,16 +43,23 @@ config BR2_PACKAGE_GNURADIO_FEC help FEC signal processing blocks +comment "gr-python depends on numpy" + depends on !BR2_PACKAGE_PYTHON_NUMPY + config BR2_PACKAGE_GNURADIO_PYTHON bool "python support" + depends on BR2_PACKAGE_PYTHON_NUMPY select BR2_PACKAGE_BOOST_PYTHON select BR2_PACKAGE_PYTHON help Enable python component +comment "gr-utils depends on gr-python" + depends on !BR2_PACKAGE_GNURADIO_PYTHON + config BR2_PACKAGE_GNURADIO_UTILS bool "gr-utils support" - select BR2_PACKAGE_GNURADIO_PYTHON + depends on BR2_PACKAGE_GNURADIO_PYTHON help Misc python utilities diff --git a/package/gnuradio/gnuradio.mk b/package/gnuradio/gnuradio.mk index fc5cd1f..565c113 100644 --- a/package/gnuradio/gnuradio.mk +++ b/package/gnuradio/gnuradio.mk @@ -86,7 +86,7 @@ GNURADIO_CONF_OPTS += -DENABLE_GR_FILTER=OFF endif ifeq ($(BR2_PACKAGE_GNURADIO_PYTHON),y) -GNURADIO_DEPENDENCIES += python +GNURADIO_DEPENDENCIES += python python-numpy GNURADIO_CONF_OPTS += -DENABLE_PYTHON=ON else GNURADIO_CONF_OPTS += -DENABLE_PYTHON=OFF