Message ID | 1511176210-28928-6-git-send-email-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBLHQZLIAKGQEI73TEUQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4010:c07::23f; helo=mail-lf0-x23f.google.com; envelope-from=swupdate+bncbcxploxj6ikrblhqzliakgqei73teuq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="QqbMvbNk"; dkim-atps=neutral Received: from mail-lf0-x23f.google.com (mail-lf0-x23f.google.com [IPv6:2a00:1450:4010:c07::23f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3ygQxV6pTwz9s4s for <incoming@patchwork.ozlabs.org>; Mon, 20 Nov 2017 22:10:38 +1100 (AEDT) Received: by mail-lf0-x23f.google.com with SMTP id i125sf1989529lfe.23 for <incoming@patchwork.ozlabs.org>; Mon, 20 Nov 2017 03:10:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1511176236; cv=pass; d=google.com; s=arc-20160816; b=TMVkSO8ye5MVIlpOBcK3UgGVXlx2l1hBOPzv1hn8CKQTXfzDI+sFvjbG8vlE0JZuMi IlhpoUk++1GX2aONj1HtjDry40Svus8ntcO9QRJ+3eZ2L2RRmBHTPbnUqq3VNGazybk0 WBR4S4gvi/X42teIEFbsUdE3Anl9aZKGXzDDb8rXUN4jz7Rw/0nOU+oOx76q2wjLVdhW 6x32Ssc+E1vcZUm8XvC+vFd7gI5wTPu4zqiLvg0NpKu/5V7ju2fyCjivdqodnu9Uwk1f WRnRqCcWogGSvMdnwT09SdOPb6A2qSkHEKAq5baRAIBnag8iYdtgi6RdS2ch9+EbC1kn TGMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:arc-authentication-results :arc-message-signature:mime-version:sender:dkim-signature :arc-authentication-results; bh=Xm1MAXtVjZBje4Yf0VtoDfE2xAHtgRoEtecGzbRw/Ts=; b=TPBadslSGBPkVD3d+cnE5qxdmzlPOt7tVSYEeQ/KMGJdtKOfkEwK6WYHSJoAhBBfvf sRURLqvnSTDwSkPAPMnHaEhkx7rOh13Q0odKkMZvuvw2FiV2URp83ZTFDC66SK4pCrC5 wRXDcvO++zUbbHidLbNfB34RaXfCXCB0MPSJ0De2ifgCMrBOzvpuOhAq8Aswysougd5a /YImi2ehYrw0YVa1NIde/pVhipJ1H9INaFWc/KFLpNTIrAvXz0moYNdd+7jRUCt9qUmE dF0/dsMf0I+vpwX6VlcozJ4fv0HeGAtU8n2PDqMN+NTHuVnEosAFVxd7Ne6uRBSep/NP 2krA== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Xm1MAXtVjZBje4Yf0VtoDfE2xAHtgRoEtecGzbRw/Ts=; b=QqbMvbNkGIaRQvVAvodCtvO37N7OvEeXI9EvYK7iszGzCZLxhc92rBo7GOIM+NsFRB cAtcbgRTpbaMLIEmMEYb31YhUlcr7bEuFhL4hZrRYMCVXJy4n985RZxs6jH729Qud0Ic d0r6fEg74K6M9KZ5Yvom+kft6/mZ+U50AEoNv090zwQ9bxH4OwyULL0PcgwOMQ6wTEPr ARWPTd8bNYHoTbl5K94iO4/r6leTCkoJZRRmkZux4Pp48EJBfGUqB4f8i45w6GLTW5jE i+0o8w4fuYE+ssyq54pWFSlCo3wOZjj19NiSA+zRgGm7uMM0rFWmLVnc5TF/ZTwyojWh lLuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=Xm1MAXtVjZBje4Yf0VtoDfE2xAHtgRoEtecGzbRw/Ts=; b=hNubbE3AuEnRXxQlJmzzAFmcib13ElslpIH7ef3KES4v9ZBKk6Tknwo3IoiHHCeQhg deO3ZcjOL2OAEU3UtHMEZjKmFe84mth5eC6tmUMsIv1dvuiB+t/Gqap2fKMBes6mkSOG 75OI0Tm5TOwdYYm8Veq1Rk4mKAURtU4aQrWQcIwe9jx35NhOrzAeODvYdoBnbD9qhv0h SmIojldby8h43fpwe/xf66fsPbh7QMHd5NwZOMKi4X6r9tI8o2U9lEtbNSK8AKhB3CO2 7izveoL4Meyr2gnBgwRRXyiw0QR+OOqNqsai1XaFBfmILZ5JIa1vluSEOMfRU2X0KxKm LuCw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AJaThX7JdoKNCS2BWejunFjOWScf4gxQmgK2cfz6PMpTP491DoWb69L3 cV111QabBsgVwy7sT38sfJ0= X-Google-Smtp-Source: AGs4zMaVqYvmojM1xFtb04J2vBrDdYotX8PrqxxVs8/lThFVNOIJUu2jbsii39ZJi0jtqLT9FqoC8A== X-Received: by 10.46.84.9 with SMTP id i9mr32867ljb.8.1511176236265; Mon, 20 Nov 2017 03:10:36 -0800 (PST) MIME-Version: 1.0 X-BeenThere: swupdate@googlegroups.com Received: by 10.46.109.9 with SMTP id i9ls1374164ljc.14.gmail; Mon, 20 Nov 2017 03:10:35 -0800 (PST) X-Received: by 10.46.16.202 with SMTP id 71mr458065ljq.31.1511176235787; Mon, 20 Nov 2017 03:10:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511176235; cv=none; d=google.com; s=arc-20160816; b=eJTdgoSuiY+oyiL7U2d+sZAp6PfCQOiLTIJPRVWmqvAYGAmq/5u/yUJ8X6XqX6EFfH G6cEau8jVEU11Ra9uC3Epy88RcWLpFuO0BNcP0LBb4UnFzIW6x21v0XJtq7WMQEF993y sFUdmRFg8+MLNr7NXxC2WCqOlTuSIt0D1IpvHSuYnocYroby345WDkiDf1jP7VHG95ij d3xHr5DlWAi5oP2/xHG+G1ow3UPPa+L3azNkUtG0805dYqZFInaKrqEb8VLeFGWU1vz1 Lik6YG7jeCaMe83j5CPYSgv047p+Ozp40N5D2aoaMXPx1xRTf707yVuRT2QYuYynGT0u PROQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=z9Xk3hcXjDpbZgk9iBevck/4DsszlyR0w/AdTQnPJEM=; b=KnH2SPIbFqXdFY4iTMvy/TVUwm52ze4yjSx1WdHU94VEz7ayxmzUgN7AvhyN9rMkkp bLQD8gpk/qaVrAkRPQGGZ1+mu1hwadZA2n4fgFZmA7KJLczXhx0Si71lxP5YSotBcJYR 2853+XW+P3MrHpZ9ofNjqYk4PydjCzFdFEL05pbFQmOdLQ02LDnsKSEGjLpOSFJ0TAgx dYrZfUajnjTk9qUxoh6YJd1wyz+dA2FmzlV+pHhseSnzyvN65d1l6Lk4q8UVZvQvcPGh TR/RgrDKA2nMQ2P/DxagM3ZngpyjVGr0hpYtHkIaA4QJ9PC1WpIbumjdA0GzlixrICqm WKLw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id b78si803764ljf.3.2017.11.20.03.10.35 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Nov 2017 03:10:35 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ygQxR29Nzz1qtFg; Mon, 20 Nov 2017 12:10:35 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3ygQxR1xDKz1qqkW; Mon, 20 Nov 2017 12:10:35 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id dSsSeGHJLBo4; Mon, 20 Nov 2017 12:10:30 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Mon, 20 Nov 2017 12:10:30 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id D7B5C45405A9; Mon, 20 Nov 2017 12:10:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ov8JXRNqsiE2; Mon, 20 Nov 2017 12:10:27 +0100 (CET) Received: from papero.fritz.box (papero.fritz.box [192.168.178.132]) by babic.homelinux.org (Postfix) with ESMTP id 8CE9C4540626; Mon, 20 Nov 2017 12:10:19 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH 06/17] Kconfig: adding a CURL switch Date: Mon, 20 Nov 2017 12:09:59 +0100 Message-Id: <1511176210-28928-6-git-send-email-sbabic@denx.de> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511176210-28928-1-git-send-email-sbabic@denx.de> References: <1511176210-28928-1-git-send-email-sbabic@denx.de> X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
[01/17] parser: added function to get net child in tree
|
expand
|
diff --git a/Kconfig b/Kconfig index 4d244bc..e46ff05 100644 --- a/Kconfig +++ b/Kconfig @@ -61,6 +61,10 @@ menu "Swupdate Settings" menu "General Configuration" +config CURL + bool + default n + config SYSTEMD bool "enable systemd support" default n @@ -278,6 +282,7 @@ config DOWNLOAD bool "Enable image downloading" default n depends on HAVE_LIBCURL + select CURL help Enable update from image URL using libcurl. The stream is sent via IPC to the installer as it is done for other interfaces. diff --git a/Makefile.flags b/Makefile.flags index c9f32f5..041a08e 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -113,7 +113,7 @@ endif endif # Image downloading support -ifneq ($(CONFIG_DOWNLOAD),) +ifneq ($(CONFIG_CURL),) LDLIBS += curl endif diff --git a/suricatta/Config.in b/suricatta/Config.in index 554ee61..62e448a 100644 --- a/suricatta/Config.in +++ b/suricatta/Config.in @@ -72,6 +72,7 @@ config SURICATTA_HAWKBIT depends on HAVE_LIBCURL depends on HAVE_JSON_C select JSON + select CURL help Support for hawkBit server. https://projects.eclipse.org/projects/iot.hawkbit
A CONFIG_CURL is introduced to move curl code into a separate library. Signed-off-by: Stefano Babic <sbabic@denx.de> --- Kconfig | 5 +++++ Makefile.flags | 2 +- suricatta/Config.in | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)