Message ID | 20210502214919.1826571-5-romain.naour@gmail.com |
---|---|
State | Changes Requested |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=me9kxr26; dkim-atps=neutral Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FYKXs0MFzz9s1l for <incoming-buildroot@patchwork.ozlabs.org>; Mon, 3 May 2021 07:50:36 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DBE164195A; Sun, 2 May 2021 21:50:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mdo-_8LR-j9r; Sun, 2 May 2021 21:50:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp4.osuosl.org (Postfix) with ESMTP id 0989D41882; Sun, 2 May 2021 21:50:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id E3AA51BF5AE for <buildroot@lists.busybox.net>; Sun, 2 May 2021 21:49:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id D143F400A6 for <buildroot@lists.busybox.net>; Sun, 2 May 2021 21:49:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp2.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HaAoagSEuXdi for <buildroot@lists.busybox.net>; Sun, 2 May 2021 21:49:29 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by smtp2.osuosl.org (Postfix) with ESMTPS id EC85B400BE for <buildroot@buildroot.org>; Sun, 2 May 2021 21:49:28 +0000 (UTC) Received: by mail-wm1-x332.google.com with SMTP id b11-20020a7bc24b0000b0290148da0694ffso2216775wmj.2 for <buildroot@buildroot.org>; Sun, 02 May 2021 14:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=LnqsU1WadKAkwEOfrLQWi4uxE0a/j27PJ4R3nDLcido=; b=me9kxr26sp2N1fu1VRbiRsxGaziLT2MzP2ENLm0W9Uo1j21dSGEW9jj7YIdbVvw6+w 0LsT+EVqzdE/UgcjMMVrZNGGgTljbtKdsOxlK6jjNooiU5EXYHH/5LeYB/CPdrH9Lshp iyh1+3BEDrKEIaHG5Aj5Vd5RAPXta1cA96X9fF3FAICeAneoptEltdvJIzQZHvDZsY6g aNrgbk9mmPoicXz4UE03JsQvIW0O7hvEbeS7sI5McICL/KUNmJgomgR78Pe3cQXcxc53 ZUrqNnBzMTny1nkiEwyLZcK/hcgao3ZFuHLft0hMJ2weQDsMJkLxaxOX7c/bJN7JFDew oO5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=LnqsU1WadKAkwEOfrLQWi4uxE0a/j27PJ4R3nDLcido=; b=ukpXQAc9r4WhVuI1wdcxnDvANt55ZC1Q+UZnZFTLH48b1gNmOCfJRYJeL5NkukyQh4 +uFsT4FmLbHJHPJDx72ogZIixJSFOtpzklvxrPvOcmLOW59c7O8oj8xh9Zd0mGZijqWl 1GgBTPsHSEMid65XLCdHIWBlMrLGuX5Ao4vtaMDWitCQmeuJtffPU3ASOgkZY6PqRyiH cKV6NPFFpSh4+bT7VGC0kL9qOB2YOB60IMBdNKmyihNtuKgZEstsTfCIOShbAXxMJl89 CDYjfYy3MI6w3aA/kHCQzKTpLbJiGppb1rLwZNR/1hcnkePfIIJw/BRSS2KDLHr1zDbP pc+A== X-Gm-Message-State: AOAM533XwtCSiMjd7MK0q4URlcWskIsFfdXqPSgbydIbJ93kqrw8KxXz RKYkt9/RHLarnyFcVIuNOHYLUt9XBMw= X-Google-Smtp-Source: ABdhPJyrxY+YL9GVU6yvU1gpFB6eyiUSQkbCoXN7b8YovQPXiB9RXAltrX7oaeTiTyJn3RWjc+Mluw== X-Received: by 2002:a7b:cbc1:: with SMTP id n1mr28867129wmi.50.1619992167029; Sun, 02 May 2021 14:49:27 -0700 (PDT) Received: from localhost.localdomain (2a01cb058f8a180002e04cfffe680084.ipv6.abo.wanadoo.fr. [2a01:cb05:8f8a:1800:2e0:4cff:fe68:84]) by smtp.gmail.com with ESMTPSA id o17sm8679439wmq.47.2021.05.02.14.49.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 May 2021 14:49:26 -0700 (PDT) From: Romain Naour <romain.naour@gmail.com> To: buildroot@buildroot.org Date: Sun, 2 May 2021 23:49:18 +0200 Message-Id: <20210502214919.1826571-5-romain.naour@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210502214919.1826571-1-romain.naour@gmail.com> References: <20210502214919.1826571-1-romain.naour@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5] package/poke: add optional json-c dependency X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Romain Naour <romain.naour@gmail.com>, Luca Saiu <positron@gnu.org>, "Jose E . Marchesi" <jemarch@gnu.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series | poke: new package | expand |
diff --git a/package/poke/poke.mk b/package/poke/poke.mk index ecf2221acd..268b9598d7 100644 --- a/package/poke/poke.mk +++ b/package/poke/poke.mk @@ -17,7 +17,13 @@ POKE_DEPENDENCIES = host-flex host-bison host-pkgconf bdwgc readline POKE_CONF_OPTS = --disable-gui \ --disable-libnbd \ - --disable-mi \ --with-libreadline-prefix=$(STAGING_DIR) +ifeq ($(BR2_PACKAGE_JSON_C),y) +POKE_DEPENDENCIES += json-c +POKE_CONF_OPTS += --enable-mi +else +POKE_CONF_OPTS += --disable-mi +endif + $(eval $(autotools-package))
From [1]: "The poke machine-interface uses a protocol to communicate with clients, which is based on JSON. poke uses the json-c library to parse and build JSON strings. If this library is not found, poke will build without machine-interface support." [1] https://git.savannah.nongnu.org/cgit/poke.git/tree/DEPENDENCIES?h=releases/poke-1.2#n55 Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Jose E. Marchesi <jemarch@gnu.org> Cc: Luca Saiu <positron@gnu.org> --- package/poke/poke.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)