From patchwork Tue Feb 5 15:51:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036833 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="ZtaZG2k9"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8Fz5kKhz9sMM for ; Wed, 6 Feb 2019 02:51:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 74F2E86826; Tue, 5 Feb 2019 15:51:49 +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 N_wMCtA7RSY6; Tue, 5 Feb 2019 15:51:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id D910286A4A; Tue, 5 Feb 2019 15:51:33 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 03C761BF958 for ; Tue, 5 Feb 2019 15:51:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 00CED30D0C for ; Tue, 5 Feb 2019 15:51:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VWsmc+HYPpgX for ; Tue, 5 Feb 2019 15:51:29 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by silver.osuosl.org (Postfix) with ESMTPS id 3E5652152E for ; Tue, 5 Feb 2019 15:51:28 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id x10so4144301wrs.8 for ; Tue, 05 Feb 2019 07:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=5wmRGjBD41plNanab+YGWAy068/SczN1tmYbk1UyYOU=; b=ZtaZG2k944vO/slVnHjh/KHUKnYIkxfhDYlTQgW8TkF2DOm/A0zg8aToQ+/uYj7mwZ xBWwHO+ExDCGJ7JbN+LZc0UqwJfHidJVyOMjhlFdMFtv7NZCrrzWO8sHRIBBv4goYWZ/ Dil5E3VlhIvMH2VYNwB+a2RKxX60Y7nB/Z6ks= 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; bh=5wmRGjBD41plNanab+YGWAy068/SczN1tmYbk1UyYOU=; b=KpaJB0kYFgFXqNa0lI4VosxqwTsEL+AKJd5CZ8uHRHPcQSFvGNQ1lzFaEXY2uH8LaG AbBjGYyIDL7fGTleMoIm+0eWSCkb1AxxOnoNvp9yiQKY0yg4DA50TNhu7K+czGGgpS+G omzpuh0MnttWcvt2IoP4/G8T2yaILFxxX20p/UnwmKM0NSCv4nJx5N4olVfUDVSdyIxu fjr7ITP+5v7KVauYK7wuPsJU1b3JwixWg3nyjfcN8RHKuyCChFSZ9eMl5sngdSyI+9m9 Lkf5QKEJ01c7ykCt2IOaDmDM19qRJoUB8fBICJsq+fzwk7ijcMVlr6KbxUDWAGFruUnb M7hQ== X-Gm-Message-State: AHQUAuaoepsXIaBhud6PjEynBK9Ky9VxoSY1AIxuuwB1uDgIhscjQNuu MHXafrULXV4LxLfUGSYkJ79Ap6VxUIkmlg== X-Google-Smtp-Source: AHgI3IaJHLeLZHkG1W4PnTvBll0nEWYm5T0M30bn+yGyIB/G0b8gfjXpn8xIxdTMopdHCdD2XCknHA== X-Received: by 2002:adf:f9ca:: with SMTP id w10mr4177601wrr.189.1549381886491; Tue, 05 Feb 2019 07:51:26 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:24 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:10 +0100 Message-Id: <1549381879-2207-2-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 01/10] package/pkg-golang: add support for building host packages 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: Mirza Krak , Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" From: Mirza Krak With this you can add: $(eval $(host-golang-package)) to a package .mk file to build for host. Signed-off-by: Mirza Krak Acked-by: Angelo Compagnucci Tested-by: Angelo Compagnucci Signed-off-by: Angelo Compagnucci --- docs/manual/adding-packages-golang.txt | 5 +++-- package/pkg-golang.mk | 37 +++++++++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/docs/manual/adding-packages-golang.txt b/docs/manual/adding-packages-golang.txt index efcf696..9452048 100644 --- a/docs/manual/adding-packages-golang.txt +++ b/docs/manual/adding-packages-golang.txt @@ -50,8 +50,9 @@ and +BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS+ because Buildroot will automatically add a dependency on +host-go+ to such packages. The main macro of the Go package infrastructure is -+golang-package+. It is similar to the +generic-package+ macro. Only -target packages are supported with +golang-package+. ++golang-package+. It is similar to the +generic-package+ macro. The +ability to build host packages is also available, with the ++host-golang-package+ macro. Just like the generic infrastructure, the Go infrastructure works by defining a number of variables before calling the +golang-package+. diff --git a/package/pkg-golang.mk b/package/pkg-golang.mk index 4f2c7e7..b4e8a53 100644 --- a/package/pkg-golang.mk +++ b/package/pkg-golang.mk @@ -25,12 +25,18 @@ GO_BIN = $(HOST_DIR)/bin/go # We pass an empty GOBIN, otherwise "go install: cannot install # cross-compiled binaries when GOBIN is set" -GO_TARGET_ENV = \ - $(HOST_GO_TARGET_ENV) \ +GO_COMMON_ENV = \ PATH=$(BR_PATH) \ GOBIN= \ CGO_ENABLED=$(HOST_GO_CGO_ENABLED) +GO_TARGET_ENV = \ + $(HOST_GO_TARGET_ENV) \ + $(GO_COMMON_ENV) + +GO_HOST_ENV = \ + $(GO_COMMON_ENV) + ################################################################################ # inner-golang-package -- defines how the configuration, compilation and # installation of a Go package should be done, implements a few hooks to tune @@ -44,7 +50,6 @@ GO_TARGET_ENV = \ # packages # argument 4 is the type (target or host) # -# NOTE Only type target is supported at the moment ################################################################################ define inner-golang-package @@ -98,6 +103,8 @@ endif # Build step. Only define it if not already defined by the package .mk # file. ifndef $(2)_BUILD_CMDS +ifeq ($(4),target) +# Build package for target define $(2)_BUILD_CMDS $$(foreach d,$$($(2)_BUILD_TARGETS),\ cd $$($(2)_SRC_PATH); \ @@ -109,6 +116,20 @@ define $(2)_BUILD_CMDS ./$$(d) ) endef +else +# Build package for host +define $(2)_BUILD_CMDS + $$(foreach d,$$($(2)_BUILD_TARGETS),\ + cd $$($(2)_SRC_PATH); \ + $$(GO_HOST_ENV) \ + GOPATH="$$(@D)/$$($(2)_WORKSPACE)" \ + $$($(2)_GO_ENV) \ + $$(GO_BIN) build -v $$($(2)_BUILD_OPTS) \ + -o $$(@D)/bin/$$(or $$($(2)_BIN_NAME),$$(notdir $$(d))) \ + ./$$(d) + ) +endef +endif endif # Target installation step. Only define it if not already defined by the @@ -121,6 +142,15 @@ define $(2)_INSTALL_TARGET_CMDS endef endif +# Host installation step +ifndef $(2)_INSTALL_CMDS +define $(2)_INSTALL_CMDS + $$(foreach d,$$($(2)_INSTALL_BINS),\ + $(INSTALL) -D -m 0755 $$(@D)/bin/$$(d) $(HOST_DIR)/bin/$$(d) + ) +endef +endif + # Call the generic package infrastructure to generate the necessary make # targets $(call inner-generic-package,$(1),$(2),$(3),$(4)) @@ -132,3 +162,4 @@ endef # inner-golang-package ################################################################################ golang-package = $(call inner-golang-package,$(pkgname),$(call UPPERCASE,$(pkgname)),$(call UPPERCASE,$(pkgname)),target) +host-golang-package = $(call inner-golang-package,host-$(pkgname),$(call UPPERCASE,host-$(pkgname)),$(call UPPERCASE,$(pkgname)),host) From patchwork Tue Feb 5 15:51:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036834 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="mFKmjGjx"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8G02qR5z9sMx for ; Wed, 6 Feb 2019 02:51:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9251D854AF; Tue, 5 Feb 2019 15:51:49 +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 pOxFjPyEFxlJ; Tue, 5 Feb 2019 15:51:32 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 151AC867E5; Tue, 5 Feb 2019 15:51:32 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id F278F1BF958 for ; Tue, 5 Feb 2019 15:51:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id EF64730D0C for ; Tue, 5 Feb 2019 15:51:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LnXhYeespjmg for ; Tue, 5 Feb 2019 15:51:30 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by silver.osuosl.org (Postfix) with ESMTPS id 372AF30D38 for ; Tue, 5 Feb 2019 15:51:30 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id x10so4144399wrs.8 for ; Tue, 05 Feb 2019 07:51:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=UkGDc8TGjZ3QIIql1rNs9IWH0ptEeNuzVUpDxqwHcYc=; b=mFKmjGjxkUG4duu20qxZ3FSI1LnDyORX/cK1+CmFAMpZF7p7qyzX4HlrdcEi0npssO R1rO3zEg5Lat3X42J4lUvNMqj2RxeuhtdSNMreS8sfGpGTAviNBwP5lv646AQ6lrGqu8 kZohL+S5ZFdYYk1OnQR/4+QnnkDsLtAwneZiU= 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; bh=UkGDc8TGjZ3QIIql1rNs9IWH0ptEeNuzVUpDxqwHcYc=; b=KB5xtOplLxYRZ7gFDgCJwMPoZwmnh55fDmdUQI7IpR5hi1iYXlzzWbxxA9wnxQvh4l KhOMoZzSJ1fLiI1M+FyytlCDqHCc7a9egi1PjH7WyPk1uFkHPkR0cOLGbf+njSpPyfSZ q+uqlLU95iRI5dbIv/wa4dqiU+Y4r2lM2feaVXt5cnIS+ExAL/v4Yhjx2MOkDejrv1xM M1uST2t0uK/qjWnbwJkiTROUlefeYgc3t6EJrde95popYve8AutHzWKgOF7pGvGN1PO0 WH+KCqY1LVwn7vkhx108diT04E9vNGjdxtfCAew+/MfV8qV09laOw1YcydPZm2M3g2Hp Yy5w== X-Gm-Message-State: AHQUAuYNxUSBhGryjqujhXmTZBtXldOb3P+Ot32Pa1RzelZXZMlkttBB JqeDaOkatNBznocTJkU17/ofsbBCKWvrYA== X-Google-Smtp-Source: AHgI3IaTlDUjW6LLUJq1o2H3sjW2iSlZOITaPh4V/aLJN+QtLom/UkrOBcbmwIs9pKul41FeU4VgMQ== X-Received: by 2002:a5d:5351:: with SMTP id t17mr4157877wrv.288.1549381888110; Tue, 05 Feb 2019 07:51:28 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:26 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:11 +0100 Message-Id: <1549381879-2207-3-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 02/10] package/go: refactor host/target dependencies 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" In order to better handling the host/target dependencies of packages, we need to add the new configuration option BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS. All golang target packages should depends on this options. Host packages needs to depend instead on the already available BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS. Signed-off-by: Angelo Compagnucci --- package/go/Config.in.host | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/package/go/Config.in.host b/package/go/Config.in.host index f619ca0..508f664 100644 --- a/package/go/Config.in.host +++ b/package/go/Config.in.host @@ -1,4 +1,4 @@ -config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS +config BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS bool default y depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_20006 @@ -10,10 +10,16 @@ config BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS # MIPS R6 support in Go has not yet been developed. depends on !BR2_MIPS_CPU_MIPS64R6 -config BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS +config BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS bool default y - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # Go doesn't support CGO linking on MIPS64x platforms # See: https://github.com/karalabe/xgo/issues/46 depends on !BR2_mips64 && !BR2_mips64el + +config BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS + bool + default y + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS From patchwork Tue Feb 5 15:51:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036831 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.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="AKMBgx3S"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8Fl5TPtz9sMM for ; Wed, 6 Feb 2019 02:51:39 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id BEB6C30D67; Tue, 5 Feb 2019 15:51:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WI1cNqR9ReRw; Tue, 5 Feb 2019 15:51:36 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 960C030D0C; Tue, 5 Feb 2019 15:51:36 +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 55A951BF958 for ; Tue, 5 Feb 2019 15:51:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 538D788109 for ; Tue, 5 Feb 2019 15:51:35 +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 5hLFMUA3cF1D for ; Tue, 5 Feb 2019 15:51:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id B528B88040 for ; Tue, 5 Feb 2019 15:51:31 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id z15so2126505wrn.1 for ; Tue, 05 Feb 2019 07:51:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=m7UsTLIm6uRkoN1qoSlmzHW51LCi23V0nlIKsEuXLZc=; b=AKMBgx3SLHo+NqLEZAaNnYfacDiVdD01Vgy9uiNW/ax8BaWDoVqTeP5hH47lniYeHr TarTc3f7CPqe60L7rpzdru9E8loUn8Z3M72lGSgsClvqOsHYUmIHZDLjhsl++U4KUwgW jfimnZBFZmscnVQXp/FHlpWwyjy4TY3YGrIoc= 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; bh=m7UsTLIm6uRkoN1qoSlmzHW51LCi23V0nlIKsEuXLZc=; b=XPr7mqmeWgSKawN7tjeC3UgG3dACXKYh3P4vcYW2B1mo3h3leyFLo/YO374JyEEK8j uiyKPFSA7iGoeJ78f6O/H34fikf63uwH7V32CDa/9Xl72VVM69rVObidXdPEN0boRdT0 KSEjIAZYT8axItRU5mHeToXJJq7B3aYXklPwLEMNnBCQ3ppea70A5kgSrLRsi1+HlOY8 IQI5gzWsUqlz6Ba+VgrmVJtgmSnjWPO1b8UB+vJ6pgIT3dFb49i6lMu+15qbdfBQebsX ci64RWJHYS99vtJdi0nq/zV02gigJYK16rdgcCCNZ0NB+nGdHbxluwpiPnaYOEmbIf14 IsBA== X-Gm-Message-State: AHQUAuaFYGMaF56c3iNAUT2aq74QfcZu4Kai4Volf2UP1CQcN3qKRmhP KRO6hoJWlTXjKXN6oA+RyglONVUk6pi1VQ== X-Google-Smtp-Source: AHgI3IbvLy736U6u0bl1I6xWQZkXgviGxhoBE0k7/ROZ2kJSkDzS+473pHXUHO6MZaS84lMNCuEW2g== X-Received: by 2002:adf:ef0d:: with SMTP id e13mr4109888wro.29.1549381889625; Tue, 05 Feb 2019 07:51:29 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:28 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:12 +0100 Message-Id: <1549381879-2207-4-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 03/10] package/docker-cli: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/docker-cli/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in index 82c35c4..2547fdc 100644 --- a/package/docker-cli/Config.in +++ b/package/docker-cli/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_DOCKER_CLI bool "docker-cli" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS help Docker is a platform to build, ship, @@ -20,6 +19,5 @@ config BR2_PACKAGE_DOCKER_CLI_STATIC endif comment "docker-cli needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS From patchwork Tue Feb 5 15:51:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036836 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="AWt2rWt3"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8G14Mdcz9sMM for ; Wed, 6 Feb 2019 02:51:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EF5388685B; Tue, 5 Feb 2019 15:51:49 +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 6hoH-hYUayUA; Tue, 5 Feb 2019 15:51:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id BE01A86B7A; Tue, 5 Feb 2019 15:51:34 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3B5A11BF958 for ; Tue, 5 Feb 2019 15:51:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3857E30CC6 for ; Tue, 5 Feb 2019 15:51:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lQ9nRo1Ziz1O for ; Tue, 5 Feb 2019 15:51:33 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by silver.osuosl.org (Postfix) with ESMTPS id 6AB912152E for ; Tue, 5 Feb 2019 15:51:33 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id v13so4169601wrw.5 for ; Tue, 05 Feb 2019 07:51:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=uwaZISvEfiEPgunqi1+VDwsC5yq7o6BMoHyH1OpR/Tg=; b=AWt2rWt34gT+dntze3+wtqO2TZ2iFPmvTwOBZtsVO3a25sFfnkE09wb61J73gtXYIR Kk5M6Bo+GPyDpg2ZbuJsrKLcHVh9CfLEuSM4sIfLutEm4tcq3Uh9INaHDEmQE5O+Oo7M TenFrY84OOPAqu7yYPfKdFsWHTWh+K9pKEJ+E= 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; bh=uwaZISvEfiEPgunqi1+VDwsC5yq7o6BMoHyH1OpR/Tg=; b=dacpkfwmZMIHDyO/PDjgnH1CapR0pFiFLEAx6P4EqUONsZqk4+m1a0b3SAWxWNrdej DxtPYhqaddBPsOHX2lRmHBxmU4UrcVxKXeZksRRMWhEHaT9uJrAn/5UNKJ660hmpRxfi f0oUtVDbmHcU++9zoeK/JMSH8xDvGRohSJ2oyaOdejzaWUO8SdFSREW4bOgbbL+zwoDO CJdn2AZzEZ3nQK+Lcje6yPSNasOmoLnduns8x65PpPmfctSMT+gteYdv+Vz+KG2cZfeV mGkzJQyV44KeaPf+m3cdNIn64u88EvCqRna2KOZghXXaFu+7OEuXSz40+fng/CncTm0E iCkg== X-Gm-Message-State: AHQUAuZEMEFBcpSYPTz9Pj/AUSHmpsqkB8Bgluv+WHpqp54JymnvV+96 whPsXX5/gkXEYVy9kwq8aO82+oIzjjNckw== X-Google-Smtp-Source: AHgI3IahL7kcKL8EVVGfAjjHdhXIxz3UuB2mxTl/dz0Ke/FFznMORUV6df6V9A8kX4w5oic39Ltnlw== X-Received: by 2002:adf:b611:: with SMTP id f17mr4510957wre.140.1549381891498; Tue, 05 Feb 2019 07:51:31 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:30 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:13 +0100 Message-Id: <1549381879-2207-5-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 04/10] package/docker-containerd: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/docker-containerd/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/docker-containerd/Config.in b/package/docker-containerd/Config.in index 851345f..ed799fa 100644 --- a/package/docker-containerd/Config.in +++ b/package/docker-containerd/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_DOCKER_CONTAINERD bool "docker-containerd" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # util-linux select BR2_PACKAGE_RUNC # runtime dependency @@ -28,7 +27,6 @@ config BR2_PACKAGE_DOCKER_CONTAINERD_DRIVER_BTRFS endif comment "docker-containerd needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_USE_MMU depends on !BR2_TOOLCHAIN_HAS_THREADS From patchwork Tue Feb 5 15:51:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036839 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=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="OZcaHNoB"; dkim-atps=neutral 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 43v8GB2JSPz9sMx for ; Wed, 6 Feb 2019 02:52:02 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 6901387290; Tue, 5 Feb 2019 15:51:59 +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 Z2JpJ6Pzhmql; Tue, 5 Feb 2019 15:51:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 8552C87291; Tue, 5 Feb 2019 15:51:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id EEF071BF958 for ; Tue, 5 Feb 2019 15:51:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EBFF786B7A for ; Tue, 5 Feb 2019 15:51:55 +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 iXT27vPBZU6e for ; Tue, 5 Feb 2019 15:51:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 4599A86B92 for ; Tue, 5 Feb 2019 15:51:35 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id g67so4203173wmd.2 for ; Tue, 05 Feb 2019 07:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vlSno3Oz+hfcdoKvJcIyYEg0CKfTszkkelcYN5lac5A=; b=OZcaHNoBixja0ZK95ZeJcgpflzuwTyQY6LNIakbkC2n7jpVQUvNBGFl1sY+14orN+h gydlEEnroUFejRy7CAYvxkuXgw7w+aKZG8pWw1P1pvVhRx4UDAKGseih/VR/fdPAeBOO 43Vdon1W5Oc/zKUoj1pJhdnmwV1hHzbnUkDZM= 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; bh=vlSno3Oz+hfcdoKvJcIyYEg0CKfTszkkelcYN5lac5A=; b=eBrLFy8MSvk0/mhGJqKl9cToCj1tfG/UQF2h6H243qFu8cfOLZJ20YDzsMjWGkWqF+ QqTkeP4ACFyW+XWW8cEzvQe/MKWUO5M5RygLryNbMwnD8TGmVZgs4GnWsX+3/WAppS9k woQeojdjhS2Tf/3VgE+ZdHXrRlLxjlgHKBEm0fUGBBcZdcs25mM9HHWcNX9W/LNI+N4W XMlZA3XtQ/FWg9IMs/yeB9BkiLGQYJRov9L6hLlaoCR4p46CYSRnrots1yMgfO/BCJF/ a0e/MBgt/x9028TLSR5eD2NgpYQ9hoIJwVcTVYzRxvJuus1HG2cMQ8147rFb1rIvDRhU imlQ== X-Gm-Message-State: AHQUAuZ88E1Gn/jb8fo7xbsyDrLj/mZM8e40nuSGJIkRK1jv9KJInw91 1RM+yVv2edxq85O3ripgZLzGKxDQ0RpLfQ== X-Google-Smtp-Source: AHgI3IY/vKiASR0cHr4Iq3lj3u0Q6k0G8WjNwljJimxdOnE5hdwAWPzb65HllifXbZGGPXfn/t/RXg== X-Received: by 2002:a1c:de57:: with SMTP id v84mr4181213wmg.55.1549381892981; Tue, 05 Feb 2019 07:51:32 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:31 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:14 +0100 Message-Id: <1549381879-2207-6-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 05/10] package/docker-engine: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/docker-engine/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 2a0c130..0366e9d 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_DOCKER_ENGINE bool "docker-engine" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # docker-containerd select BR2_PACKAGE_DOCKER_CONTAINERD # runtime dependency @@ -50,7 +49,6 @@ config BR2_PACKAGE_DOCKER_ENGINE_DRIVER_VFS endif comment "docker-engine needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU From patchwork Tue Feb 5 15:51:15 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036838 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="D+IfyAQ2"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8G9351bz9sMM for ; Wed, 6 Feb 2019 02:52:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D084386CDE; Tue, 5 Feb 2019 15:51:59 +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 SQ20F0Ehy2Bz; Tue, 5 Feb 2019 15:51:51 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5BBF686DD7; Tue, 5 Feb 2019 15:51:40 +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 3F5D01BF958 for ; Tue, 5 Feb 2019 15:51:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3CCC387290 for ; Tue, 5 Feb 2019 15:51:39 +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 Ul0pbDmNjtDb for ; Tue, 5 Feb 2019 15:51:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id ED27C8725F for ; Tue, 5 Feb 2019 15:51:37 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id z5so4166675wmf.0 for ; Tue, 05 Feb 2019 07:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3hyrLWce3M6gOxh26nQqPweWF/nhFdUIYIgjsafAh2E=; b=D+IfyAQ2gfvnkvdxMmiwUedbQk/QeCmbjMGca0DHzQKicQG31+O6w1l+dmqq2PWO+l Q9Io9XiH04j6vjuPJw9M0zEMs+ZStxGvT3pjUIQMXxWOvMY/RY0iZhfhnNc9RwiUswHk ZEbubTWVX/MKCQp9p63ZaGPscRNWJ7F/tL29M= 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; bh=3hyrLWce3M6gOxh26nQqPweWF/nhFdUIYIgjsafAh2E=; b=HY7Z7bHMFGuiOEz2z1zdC98ZpHRd8dvANqxtgEufZO5tClrWa51gREY0T3nBDmjR/x 2hk8YiR0hVqa0MvWCCYgNO1J/7brdeM+oqN98DPHNGCdVqekC5B1lJn/kJFcJahyFDVd 2V3usZ9kK9yX6psufyAFm5aWv96u4yT3COQ5Ut+B+qU/zMhHBvjkcbM+XT8FUAjnU7N3 eDruylhNQPeNx4wNKVUn2oWNjQhJhMpcZQyUyxlD074qXUI6DkNIZ1axNiiJHuv0T7qw CRgVVU+rp2HMvDeOadCi6Z1q9OPirxXbQsrOkqlEwOP60/cudnMFHtBqBaYDe3LVBqVy xI6g== X-Gm-Message-State: AHQUAuZ1Ymo7ulGfwgb0UjBEnoLXqpRCNFOAA5yiz1jpCppmmnn+jRCF DMs2XDCu0jortkp7fzvlvQfN52+iLYPmKw== X-Google-Smtp-Source: AHgI3IZvkLkEtdV/oyjCPV+tOBMc7OWuC3X8H/mzzaj3VLCPGXWmFXwXc9lIzrqEwJiwFv1ogVVORg== X-Received: by 2002:a1c:b456:: with SMTP id d83mr4441384wmf.115.1549381894920; Tue, 05 Feb 2019 07:51:34 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:33 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:15 +0100 Message-Id: <1549381879-2207-7-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 06/10] package/docker-proxy: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/docker-proxy/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/docker-proxy/Config.in b/package/docker-proxy/Config.in index 596e18a..4a256f7 100644 --- a/package/docker-proxy/Config.in +++ b/package/docker-proxy/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_DOCKER_PROXY bool "docker-proxy" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS help Libnetwork is a Container Network Model that provides a @@ -14,6 +13,5 @@ config BR2_PACKAGE_DOCKER_PROXY https://github.com/docker/libnetwork comment "docker-proxy needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS From patchwork Tue Feb 5 15:51:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036841 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.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="fK7mtCKZ"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8GJ3pNgz9sMM for ; Wed, 6 Feb 2019 02:52:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2C9EF86DE4; Tue, 5 Feb 2019 15:52:05 +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 zPbKmbRKqScq; Tue, 5 Feb 2019 15:51:59 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5A32B86DE6; Tue, 5 Feb 2019 15:51:41 +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 BB0301BF958 for ; Tue, 5 Feb 2019 15:51:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B88928725F for ; Tue, 5 Feb 2019 15:51:39 +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 jlid4cFLULRO for ; Tue, 5 Feb 2019 15:51:39 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 0FE648723A for ; Tue, 5 Feb 2019 15:51:39 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id f188so4177460wmf.5 for ; Tue, 05 Feb 2019 07:51:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lQGbfhXH9KBzzxqrr/NmJjrsPi3Qe6bRSFzoUSZ3Pxw=; b=fK7mtCKZyWapzpviRxHEo6hBDAURejJKCEQpuuCJkVEtmwHEG9dtudIXchKTPu4gtr 34pUUHaeuXwr8pQqnKQImzORClgR3aTuR6Ivtu91ppUkeBJGZTh54Qvp2UcJywbD6a22 2jIJM16KaIhgD6RIBnjF9+35yO+2Y+1qrJKPk= 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; bh=lQGbfhXH9KBzzxqrr/NmJjrsPi3Qe6bRSFzoUSZ3Pxw=; b=S724CT9D7urJtsEaBJ3mZRaMxMC3yaLQ+NFt5GfHFG1xf24KSLOeAMJWMhsczQTH/e OZ1FSQpvIFHZEeTilTNbrzsHFVAt2ilTdTrej4uaTAQW7MSCrJ1BSydq+4fKowCvEPD0 ZC1MSnWW+W7Za3N6NcBTpVh36rKqdMJARmerTxcvqpXxasXZsc1XNBP6yFGXv3Twla1b vGdc3n6Brv6SRjPHbrF2QDGCCdGNRm6fMa3K7kUEGobTQl6gaTMkyryBc092gMzWAiV2 MnmmWcb9Y9MeSN/rAPm9zysgdmsugtk+QmYh11ucuYAXxPHrznj/iSbZ6dcMngTEvWsA eUng== X-Gm-Message-State: AHQUAub73G+0CCWaYH4wh3nqs6E0ysw1dEzqrnEmWPEoXCgK55tlRA01 FbHQBn7pvAWW8dwQcXksaJPl91K42bOStQ== X-Google-Smtp-Source: AHgI3Iaz4Da06by1RW9CVhycO0NsI+Ge/SM1ErzGnXkEI+ye1xMb8DAliiZ6LLZXZBjdmhNFazY0BA== X-Received: by 2002:a1c:c2d5:: with SMTP id s204mr4585500wmf.144.1549381896883; Tue, 05 Feb 2019 07:51:36 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:35 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:16 +0100 Message-Id: <1549381879-2207-8-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 07/10] package/flannel: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/flannel/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/flannel/Config.in b/package/flannel/Config.in index 134111b..024b94c 100644 --- a/package/flannel/Config.in +++ b/package/flannel/Config.in @@ -1,12 +1,10 @@ comment "flannel needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \ - BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS config BR2_PACKAGE_FLANNEL bool "flannel" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS help Flannel is a virtual network that gives a subnet to each From patchwork Tue Feb 5 15:51:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036832 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=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="U1JOtIiI"; dkim-atps=neutral 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 43v8Fx33ywz9sMM for ; Wed, 6 Feb 2019 02:51:49 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id ED261872D1; Tue, 5 Feb 2019 15:51:45 +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 PbnwAo7QI-vz; Tue, 5 Feb 2019 15:51:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 230CE8725F; Tue, 5 Feb 2019 15:51:44 +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 DB5D91BF958 for ; Tue, 5 Feb 2019 15:51:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D901887F9F for ; Tue, 5 Feb 2019 15:51:42 +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 cTVNJMpP2ANk for ; Tue, 5 Feb 2019 15:51:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 31BB688040 for ; Tue, 5 Feb 2019 15:51:41 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id d15so4172438wmb.3 for ; Tue, 05 Feb 2019 07:51:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bXHmVwnZ90txOSLAL+Zn8mXLthTrlhVYXGEjJ+BcglA=; b=U1JOtIiILRj2Xsma6OSwKFMjVeAXLlJm3hpeZMVpQGjnuxwNs5N8wQ+B+ecveGYvf9 2dOMRQdOvdoQwW+NdXYCXjEhd8ap26lj1fgzTDZVN0Jv1IJHEPJWUgIu3jMpqg+8Mba+ M1ezcXuzc+Nl2IFnPzeQX6VVhjdNqNvI6OV3Q= 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; bh=bXHmVwnZ90txOSLAL+Zn8mXLthTrlhVYXGEjJ+BcglA=; b=sVd/aveVRGCvUH9RW5CENR6gYea0F0hS9jYwlnoU0cpFNFACGT3MuQDaCL1og1hf9m L/AoiZDzxKSxS1WQeD5Uin4WA6lAgK0d1Uq3MvsOHANglgQGpAq17HV+cM+MNpO0LXOg QqfeIS6K/RgEmKVAV65L2/XD05QHIaV6XttZpIk47F8mL2oZrvLZRhiLnGPM90ogK0/G /IJKyxjl1ipItRx1WohXon8SKkOx+9fY0NyGQll2A3XiGNXeCHUI1bdT6tXeb2huHuhg wwtZO8Fm2LlJ4B0G3K+AzFWiOhbA+PndBPX500UoeBGkF4anGHffdc33rZp7l8NGSWpS IFYg== X-Gm-Message-State: AHQUAuaIY9gimQ0f4w+UjsDFeqHL7n7EYzfFQn1fVccvXwtsVO2eOZmG /qPEccuE9w+ubP4mZgpXRaJbhLrCbpAt1Q== X-Google-Smtp-Source: AHgI3Ib2db2Hlh77mS4LKzj3QhWAQ4zU7oHYsEYzJ7Y4t0LJMSBT7xxc/adLOVbxuTjq3egmtBde7g== X-Received: by 2002:a1c:7a16:: with SMTP id v22mr3926312wmc.131.1549381898946; Tue, 05 Feb 2019 07:51:38 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:37 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:17 +0100 Message-Id: <1549381879-2207-9-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 08/10] package/mender: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/mender/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/mender/Config.in b/package/mender/Config.in index aeb0b26..2f038eb 100644 --- a/package/mender/Config.in +++ b/package/mender/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_MENDER bool "mender" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS select BR2_PACKAGE_UBOOT_TOOLS # runtime select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV # runtime @@ -14,6 +13,5 @@ config BR2_PACKAGE_MENDER https://github.com/mendersoftware/mender comment "mender needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS From patchwork Tue Feb 5 15:51:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036835 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="doDKhSSA"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8G056Nzz9sN9 for ; Wed, 6 Feb 2019 02:51:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id E9AFD8270C; Tue, 5 Feb 2019 15:51:48 +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 1DMeyH8mAm7X; Tue, 5 Feb 2019 15:51:45 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id E945D88040; Tue, 5 Feb 2019 15:51:44 +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 CF1331BF958 for ; Tue, 5 Feb 2019 15:51:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id CC9E787290 for ; Tue, 5 Feb 2019 15:51:43 +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 J+BFpV2PAJ+Q for ; Tue, 5 Feb 2019 15:51:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by whitealder.osuosl.org (Postfix) with ESMTPS id 27C248723A for ; Tue, 5 Feb 2019 15:51:43 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id m22so4217990wml.3 for ; Tue, 05 Feb 2019 07:51:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8ne0s4UojTltNCt61sVeFVSIw+rPSMvn4ALQh8kgREQ=; b=doDKhSSA1bu2vZ44rwE2febBhM1dXMLzQYgHXX/YD1+btvTnsgBCsKUN2ytNowKMZB bn0nf2QKhakLyB06GOu/jeCLIDlht9d/pd2ogPIC+91RQtB6qevp8IRK2h7Vbr0PyaNQ lJDZMvycbO+BvJjvdpxQcLcwy/WmD+++HU0e0= 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; bh=8ne0s4UojTltNCt61sVeFVSIw+rPSMvn4ALQh8kgREQ=; b=Yt51sd06Zmk5xSqjnRkbomZt8QYbubqs0yNVxBXbnOF376cK+eDikdzxOxP5n/ldjW oMPtutzFT8oRP+1aei/tMDw8vgoS0Z4XNGy2gxCTlqteg5YctqUMmYMBumkVDwHiSknc Y0dTzIwRg9gO62TczUaGS8yYJEpOYQuSZQAI6MvtYYjtJCX/btyGaFb2aFub1s4mv6qS XKggzjY2Vi0G8LsO/DFLkeexaqulsr1TjWnIfEbCJ1SJ+oH7Mhcz3cYR+qYGqPJxAN9o lPQWpq3AZ2cXkBI0bcxSZGzuvwaKnOK3IN0fCDJXBZARIQCO0rvVOR+RnczyuRaDnw/P NLgA== X-Gm-Message-State: AHQUAuYhkCAJ3MfipYtK7q4ld3bbWGldF8A8fBJel1VQDGEG9uKQogMe siOrqynYJu37uwt0tTEz/21j/vObbXmiGQ== X-Google-Smtp-Source: AHgI3IbRD4A9MGtqQM7VeAw/V1qPFpjoke0Wy5W8oosjUPiKnjjFdPGraxJlBA7pxJPWJqtEL3cQfA== X-Received: by 2002:a7b:c442:: with SMTP id l2mr4319392wmi.140.1549381900916; Tue, 05 Feb 2019 07:51:40 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:39 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:18 +0100 Message-Id: <1549381879-2207-10-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 09/10] package/runc: using BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" This patch moves the package to use the newly added BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS in order to state clearly that this package depends on the go compiler for target. Signed-off-by: Angelo Compagnucci --- package/runc/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/runc/Config.in b/package/runc/Config.in index fd5dee7..01ae5ad 100644 --- a/package/runc/Config.in +++ b/package/runc/Config.in @@ -1,7 +1,6 @@ config BR2_PACKAGE_RUNC bool "runc" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS - depends on BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on BR2_TOOLCHAIN_HAS_THREADS help runC is a CLI tool for spawning and running containers @@ -10,6 +9,5 @@ config BR2_PACKAGE_RUNC https://github.com/opencontainers/runc comment "runc needs a toolchain w/ threads" - depends on BR2_PACKAGE_HOST_GO_ARCH_SUPPORTS && \ - BR2_PACKAGE_HOST_GO_CGO_LINKING_SUPPORTS + depends on BR2_PACKAGE_HOST_GO_TARGET_SUPPORTS depends on !BR2_TOOLCHAIN_HAS_THREADS From patchwork Tue Feb 5 15:51:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036837 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.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="c61JB09k"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43v8G71qdfz9sMM for ; Wed, 6 Feb 2019 02:51:59 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BAF3C88109; Tue, 5 Feb 2019 15:51:57 +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 Lw2RucYSu2Xw; Tue, 5 Feb 2019 15:51:50 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 621AD81D92; Tue, 5 Feb 2019 15:51:48 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 5BBA81BF958 for ; Tue, 5 Feb 2019 15:51:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 58EEB2152E for ; Tue, 5 Feb 2019 15:51:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V-iXIHycVL4F for ; Tue, 5 Feb 2019 15:51:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by silver.osuosl.org (Postfix) with ESMTPS id 3026130D0C for ; Tue, 5 Feb 2019 15:51:45 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id b11so4190490wmj.1 for ; Tue, 05 Feb 2019 07:51:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=sFJ4VsEcZjkHfy98jx6CRdmt5WelNW/JPLlOav1Nu9E=; b=c61JB09kpANNS1BBM5/VAUrWbTZgBmrAGkfSLARVvIFh+0dX+hp3cZuv1nOo41Tanb pAlhJbbdEQXQZQ6Ij0zb4GwIm05Rmyl9f8AowRTWAugn3RzqC9+yf7yMiWT0kw46Im1D rZy333rNh1YaZFsXZBT6VknE1WyrUEBajfOX0= 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; bh=sFJ4VsEcZjkHfy98jx6CRdmt5WelNW/JPLlOav1Nu9E=; b=leMGoGlBEykSh8Ho+uF9fExhBNkMxiyEENUddsQaJMyTW38TxIeNZX1mHSkBhkoogb JuxSUkbK76fkYx0BWBdyySxY37Kmvrd54oXLWwmjR5Fvx5QwJ9omCjzdwTGn9Mri66CS cev4RvYlYMv1oWHTSvvGF8Re2PFzrXN9sJ21DPRcVsApMpQrSmsCemaWxwltdx3PFwUN Opuy6Sa+YtDSE1rf/HkU8M6cYc4libQxeOF2cf079ikjiSsAEWtdnt5QJqF1lmKLcmjO 2aGtgsnqopqRowxRdLMZIBAiXySZemGJmy5wUgYkQrBdK8mPAUy3WmFeqWh6/xDxM1GR Th3A== X-Gm-Message-State: AHQUAubUlmvBBUq3Ozo3UlqLOdWpU2qDM1P73cCMuf2D6wBgwJVBZYZk lWbk27NDObXfWGgApZA9Ax3dCKyTyE0CIw== X-Google-Smtp-Source: AHgI3IZDXAdGKMcSe7TFwle9aiapqNukJdkewVlQz6035O3OloD/jmQSdmTxMEn+AYBbTKt4r+JWUA== X-Received: by 2002:a7b:c4cb:: with SMTP id g11mr4276737wmk.149.1549381902966; Tue, 05 Feb 2019 07:51:42 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id w125sm33813224wmb.45.2019.02.05.07.51.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 07:51:41 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 16:51:19 +0100 Message-Id: <1549381879-2207-11-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> References: <1549381879-2207-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH 10/10] package/mender-artifact: initial support 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: Angelo Compagnucci MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" mender-artifact is a host tool to generate update images in the Mender artifact file format. Example usage: $ mender-artifact write rootfs-image \ --update rootfs.ext4 \ --output-path rootfs.mender \ --artifact-name "release-v1.0.0" \ --device-type "beaglebone" Above will generate a Mender artifact called "rootfs.mender" containing the "rootfs.ext4" image along with meta-data. One can read-out the meta-data with the following command: $ mender-artifact read rootfs.mender Mender artifact: Name: release-v1.0.0 Format: mender Version: 2 Signature: no signature Compatible devices: '[beaglebone]' Updates: 0000: Type: rootfs-image Files: name: rootfs.ext4 size: 52428800 modified: 2018-08-27 09:10:55 +0200 CEST checksum: e70b113fb0964a810a3043586eb4fc1c48e684ba78b02ba65fead4aa3e540d87 Signed-off-by: Angelo Compagnucci --- DEVELOPERS | 1 + package/Config.in.host | 1 + package/mender-artifact/Config.in.host | 18 +++++++++++++++++ package/mender-artifact/mender-artifact.hash | 28 ++++++++++++++++++++++++++ package/mender-artifact/mender-artifact.mk | 30 ++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 package/mender-artifact/Config.in.host create mode 100644 package/mender-artifact/mender-artifact.hash create mode 100644 package/mender-artifact/mender-artifact.mk diff --git a/DEVELOPERS b/DEVELOPERS index 59e1f32..be223b2 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -1560,6 +1560,7 @@ F: package/shadowsocks-libev/ N: Mirza Krak F: package/mender/ +F: package/mender-artifact/ N: Morgan Delestre F: package/monkey/ diff --git a/package/Config.in.host b/package/Config.in.host index 3b75f23..9916114 100644 --- a/package/Config.in.host +++ b/package/Config.in.host @@ -33,6 +33,7 @@ menu "Host utilities" source "package/jsmin/Config.in.host" source "package/lpc3250loader/Config.in.host" source "package/lttng-babeltrace/Config.in.host" + source "package/mender-artifact/Config.in.host" source "package/mfgtools/Config.in.host" source "package/mkpasswd/Config.in.host" source "package/mtd/Config.in.host" diff --git a/package/mender-artifact/Config.in.host b/package/mender-artifact/Config.in.host new file mode 100644 index 0000000..181d57d --- /dev/null +++ b/package/mender-artifact/Config.in.host @@ -0,0 +1,18 @@ +config BR2_PACKAGE_HOST_MENDER_ARTIFACT + bool "host mender-artifact" + depends on BR2_PACKAGE_HOST_GO_BOOTSTRAP_ARCH_SUPPORTS + help + The mender-artifact tool is a CLI implementation of the + Mender artifacts library. + + A Mender artifact can be recognized by its .mender suffix. + Mender artifacts can contain binaries, metadata, checksums, + signatures and scripts that are used during a deployment. + The artifact format acts as a wrapper, and uses the tar + format to bundle several files into one. + + In its simplest form, an artifact contains just a rootfs + image, along with its checksum, id and device type + compatibility. + + https://github.com/mendersoftware/mender-artifact diff --git a/package/mender-artifact/mender-artifact.hash b/package/mender-artifact/mender-artifact.hash new file mode 100644 index 0000000..d44244d --- /dev/null +++ b/package/mender-artifact/mender-artifact.hash @@ -0,0 +1,28 @@ +# Locally computed: +sha256 fde448af4811600a130b243d59e21b1f9cdd60fd991bd418246c913ebf945206 2.4.0.tar.gz + +# License hash extracted from LIC_FILES_CHKSUM.sha256 using the +# following command: +# +# sed '/^[A-Za-z0-9_]/s/^/sha256 /' LIC_FILES_CHKSUM.sha256 + +# Apache 2.0 licenses. +sha256 98ed35b5a138f58164b5c0dbccd9d7f01ef4d84b9dba01e896f0a3241c50c0f7 LICENSE +sha256 ceb1b36ff073bd13d9806d4615b931707768ca9023805620acc32dd1cfc2f680 vendor/github.com/mendersoftware/mendertesting/LICENSE +# +# BSD 2 Clause licenses. +sha256 8d427fd87bc9579ea368fde3d49f9ca22eac857f91a9dec7e3004bdfab7dee86 vendor/github.com/pkg/errors/LICENSE +# +# BSD 3 Clause licenses. +sha256 2eb550be6801c1ea434feba53bf6d12e7c71c90253e0a9de4a4f46cf88b56477 vendor/github.com/pmezard/go-difflib/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/sys/LICENSE +sha256 2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067 vendor/golang.org/x/crypto/LICENSE +# +# ISC licenses. +sha256 3525392c6db3b804af76980b2c560ee9ec1abdadd907d76a26091df7c78f3a25 vendor/github.com/davecgh/go-spew/LICENSE +# +# MIT licenses. +sha256 402f39eed8a1851385d0703999aa9f23d067c2ea3e15c63c074e389cbf8f8f8f vendor/github.com/stretchr/testify/LICENSE +sha256 402f39eed8a1851385d0703999aa9f23d067c2ea3e15c63c074e389cbf8f8f8f vendor/github.com/stretchr/testify/LICENSE +sha256 da277af11b85227490377fbcac6afccc68be560c4fff36ac05ca62de55345fd7 vendor/github.com/urfave/cli/LICENSE +sha256 51a0c9ec7f8b7634181b8d4c03e5b5d204ac21d6e72f46c313973424664b2e6b vendor/github.com/sirupsen/logrus/LICENSE diff --git a/package/mender-artifact/mender-artifact.mk b/package/mender-artifact/mender-artifact.mk new file mode 100644 index 0000000..9ed0b1a --- /dev/null +++ b/package/mender-artifact/mender-artifact.mk @@ -0,0 +1,30 @@ +################################################################################ +# +# host-mender-artifact +# +################################################################################ + +HOST_MENDER_ARTIFACT_VERSION = 2.4.0 +HOST_MENDER_ARTIFACT_SITE = https://github.com/mendersoftware/mender-artifact/archive +HOST_MENDER_ARTIFACT_SOURCE = $(HOST_MENDER_ARTIFACT_VERSION).tar.gz +HOST_MENDER_ARTIFACT_LICENSE = Apache2.0, BSD-2-Clause, BSD-3-Clause, ISC, MIT +HOST_MENDER_ARTIFACT_LICENSE_FILES = \ + LICENSE \ + LIC_FILES_CHKSUM.sha256 \ + vendor/github.com/mendersoftware/mendertesting/LICENSE \ + vendor/github.com/pkg/errors/LICENSE \ + vendor/github.com/pmezard/go-difflib/LICENSE \ + vendor/golang.org/x/sys/LICENSE \ + vendor/golang.org/x/crypto/LICENSE \ + vendor/github.com/davecgh/go-spew/LICENSE \ + vendor/github.com/stretchr/testify/LICENSE \ + vendor/github.com/stretchr/testify/LICENSE \ + vendor/github.com/urfave/cli/LICENSE \ + vendor/github.com/sirupsen/logrus/LICENSE + +HOST_MENDER_ARTIFACT_BUILD_TARGETS = cli/mender-artifact + +HOST_MENDER_ARTIFACT_BIN_NAME = mender-artifact +HOST_MENDER_ARTIFACT_INSTALL_BINS = $(HOST_MENDER_ARTIFACT_BIN_NAME) + +$(eval $(host-golang-package))