From patchwork Tue Feb 5 16:00:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036855 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="b6yiHtpy"; 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 43v8Sc5tYGz9sMl for ; Wed, 6 Feb 2019 03:01:04 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 753F230D6D; Tue, 5 Feb 2019 16:01:02 +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 aQTnzt9VZRMV; Tue, 5 Feb 2019 16:01:00 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id E69D721FAC; Tue, 5 Feb 2019 16:00:59 +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 13EDF1BF958 for ; Tue, 5 Feb 2019 16:00:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 11C7786825 for ; Tue, 5 Feb 2019 16:00:58 +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 kDIv8UeWpPG5 for ; Tue, 5 Feb 2019 16:00:54 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id 07B5086132 for ; Tue, 5 Feb 2019 16:00:54 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id a16so4252024wrv.0 for ; Tue, 05 Feb 2019 08:00:53 -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=b6yiHtpyEzF5i+Jp5dE/RF5zjBSDq1XuVnQYHZ23qoKiEBxN8KT+CtQyXMyPJre/Su 01obNTmLcwAKwNY+IIv3+dBpKfa9ksj5FuG5/rHSQEcpN3B6vo21SpyXprcNp2O4PbzA mIRxf0mm0zdysrzVy1udM5yma3+pD5SAAT85g= 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=lY5Z7NVDEpaLZab/nLWg+UCcNdygWrNsSes+/XHGnfLF+CcaeS5bi0TXjlSEQlYyOO uBmAsVR6OFA6Bo3n+EcMHhIYAQKrWe+J5s/zdTBtGwC5cQ1cMlsOhuiWsrq8y87o4J8I MEFEq6niEg2N6qLLXXUuOY25JyByTdUz+NnvdGeZjS3Y5CBe9xVz7DwEElTyq2yrLfCF IYfZp5Rs3UWAk66ewdjn08vdtFLYJIF66XGJev1EZcsdetzL3mPlJ990ibaxs3CrqrKz PAPg9oObE9mGTUdJUUkET+8kIX1MYYHSz5cJorKjAM8IT/pO/QyG28VFWBDa6PtsetVC LAaw== X-Gm-Message-State: AHQUAuaPMxxnIwZRvTvBHTA8DGqMW2qj8x4k8xI/Su73MdMAl4T+ak4p 9QiNWPJJp/L9BRp72uuBd9NMZ2f8QIDQNA== X-Google-Smtp-Source: AHgI3IZL+/f7ZnkIzmSikcRxIZ2vtRQENrKsgXQJGqGd+6NvgYoaKhyiDBcQQnFbHdc+Ampu3IMRrQ== X-Received: by 2002:a5d:664a:: with SMTP id f10mr4118304wrw.311.1549382450803; Tue, 05 Feb 2019 08:00:50 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.00.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:00:45 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:27 +0100 Message-Id: <1549382436-15177-2-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:28 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036858 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="OeVbFlGC"; 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 43v8Sp5n9zz9sMx for ; Wed, 6 Feb 2019 03:01:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 298CB30DA5; Tue, 5 Feb 2019 16:01:09 +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 ZSZRv9O-gFwn; Tue, 5 Feb 2019 16:01:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id AD74D30D0C; Tue, 5 Feb 2019 16:01:01 +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 6334E1BF958 for ; Tue, 5 Feb 2019 16:01:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 60C7485F4B for ; Tue, 5 Feb 2019 16:01:00 +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 2FZPTmcjKFVC for ; Tue, 5 Feb 2019 16:00:59 +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 fraxinus.osuosl.org (Postfix) with ESMTPS id A7CC88681D for ; Tue, 5 Feb 2019 16:00:59 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id t27so4199526wra.6 for ; Tue, 05 Feb 2019 08:00:59 -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=OeVbFlGCwCbnljb8lw93vwMAlcFB+y7liFyMi5yREaVt0QZwBxrsLX6TAerbT0USRQ hhqanTO2I2L358sGUXbL9zm4XDLG3by53cdMsu+mLvTsTpcWH83V5K/+yd024oDa9BkB t7Wi27cqb0VMFbdYAfpo2jRB+voYVsZ0H9urc= 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=G++OJCBmvPyoMqCOhAip890zlEcHYau0Lr/3JbZEkczRpap8+RClvAlhZertxZrePQ T/j1ghTzw4C5SGGA02TjKP3oprNoMdp1QsnpTHHZcZ0JNxadxZmXax1xuD6TSzbEzEOD 6M9xgvPASFO9d7SDqhrEmlEo6v85S5hJpjRBMiFnHKFXfOJ+BQaTgZGv4hcCz2oDamJi O5kwkjE5RUmTSJ+fmqLaDCYo2nTP6hj8Pp+drGsdHCdMkFesoIf4DD3l4IJilVJv8wbV vbGxesu3R0qRjrpQr3vqO0DsPwUmFtydlqxYTI1sgHfHsMkGlNAj+JwsAXr/4tiFUUdk v8lw== X-Gm-Message-State: AHQUAuaIKFa8UGJohyfwcvF20VWaUqEkhYD5KQay0TOt22DJ07H/sl9z wMKkJMVZC5D0q0ZjM4lrkpUaVm8fjWXN8A== X-Google-Smtp-Source: AHgI3Iby6NndZtOn89pqeSL9imXFtXdGNlbqmcD5hbhEjl5Vt1wx6gHEsvISfmbh4QXKSPdesXNyfw== X-Received: by 2002:adf:fd03:: with SMTP id e3mr4029525wrr.280.1549382456506; Tue, 05 Feb 2019 08:00:56 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.00.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:00:53 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:28 +0100 Message-Id: <1549382436-15177-3-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036857 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="PH3QKw4G"; 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 43v8Sg2KYNz9sMl for ; Wed, 6 Feb 2019 03:01:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D824A8852C; Tue, 5 Feb 2019 16:01:05 +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 kQYMqNsQzGNc; Tue, 5 Feb 2019 16:01:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 611E488524; Tue, 5 Feb 2019 16:01:05 +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 07F101BF958 for ; Tue, 5 Feb 2019 16:01:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 02C4C8852C for ; Tue, 5 Feb 2019 16:01:04 +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 oHYNH7miFXxd for ; Tue, 5 Feb 2019 16:01:03 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 967EE88526 for ; Tue, 5 Feb 2019 16:01:03 +0000 (UTC) Received: by mail-wr1-f67.google.com with SMTP id q15so4153705wro.12 for ; Tue, 05 Feb 2019 08:01:03 -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=PH3QKw4G4zZ7O1lcd46dXXokr36/I0iO4F45g4syDicxuWGKpIzWk93Wn5jkOmQvbc d5lFHqY543OVtFQovxs1yQYU/d44as7SzLKOvodThTwEwNh5SgumK6Lekg4fcCZbBYGH KwHrrY2tS4eJ8D7xewNWXRKlWor0DB9R/+x4o= 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=Kg6B0chX5J7SVHxAG6OF7YNdMxtsHSgCwzXGvY7iUI1qO+24LylhwKdUctLt8C5mhn FrQKYvIwqpC+knwuFHjxLtRgFnmGi3cBvGkcH7t4C1XOzGz+msmj1UWlcW8fNhWuR9uF c6aSCDRtGB5cTnwZ3Fnct1l24yxxRL8miJohbph9qaCyDgdnJBIE06Sj/dk+WexoO4dN FmBIUz6F79nVwk1kBTTP7zLutGBcsQYYDzYePBeGorGDRLI8L2G5Bos8UF6pUs2n67Au 81AGZssjiQsPLWby9Uk57zuRKp401f5gmChf7870mQY7GNezPiLZC4zmPY3r7RJ/bgaP OgVA== X-Gm-Message-State: AHQUAuZyHHRSdEBLiNLcX06pK2Pb7EAfFaestUJTHuta3SXVMd/1k7FN mTpuyDbg4shm3qpmr7RaC+I6wTjcLC9I4Q== X-Google-Smtp-Source: AHgI3IYyYoMHMB34bD+WPrEsBJlMcl0Ktefbe3SPEJ7n4gn/azAY2LImZfsQPzkZEmSL7YBYZTiEDQ== X-Received: by 2002:adf:e38e:: with SMTP id e14mr4485021wrm.142.1549382460898; Tue, 05 Feb 2019 08:01:00 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.00.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:00:57 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:29 +0100 Message-Id: <1549382436-15177-4-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036859 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="EYy6zw3A"; 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 43v8St23Tfz9sMl for ; Wed, 6 Feb 2019 03:01:17 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 593C4312AC; Tue, 5 Feb 2019 16:01:16 +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 B+s2TDJ1r54k; Tue, 5 Feb 2019 16:01:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 889EE3103A; Tue, 5 Feb 2019 16:01:12 +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 19B2A1BF95C for ; Tue, 5 Feb 2019 16:01:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1760E872CA for ; Tue, 5 Feb 2019 16:01:10 +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 hXBHVBa+DI8k for ; Tue, 5 Feb 2019 16:01:08 +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 whitealder.osuosl.org (Postfix) with ESMTPS id 032E087291 for ; Tue, 5 Feb 2019 16:01:08 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id q18so4182808wrx.9 for ; Tue, 05 Feb 2019 08:01:07 -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=EYy6zw3ANNQkhChFzAIAcXya28Fkhq0GGqIEpTeO0sxXWJI/5jbWtnHNOeFwNWuC/i 0LRbKU6TYCEesA+fEsF4h9AYYku2XOn5ZC2rhw0oG4LtFdRkDSdN5dXGi1y+1z315N9P w2/wGKSCJ1Oe3oL9YLDo2gqJFyhiW4HNQA4B4= 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=NHHX7H8u7Yid6Rb2lOGNjweX7VTzCJa/uc+5dg07qUlqRWp8RCAtsqnnE8hiUNar14 D2WQl6hdf6a4uZ10nD4rj+CqjQShVlunloij3QBfScqitQMC37u28/1syJ2SocSDDACG 2ImDuM2wTkqzOLxggTUxVEjDqO5bycVxziTk2OJ7C71MapFWZkiJxqnu8VP+nYsnuKDn ZUZiOqlWjHVW5nRNeRmFgQaImwzdRpZGkZelZclv4fDab6hXPvGa+e4Re+vMXmHi2BYu EQ1ca2MEEfldfHl+WbUkSo14gWHLrPc9sj4siQtGQwvf2erJRQUfpKZ632CdU0swiDkP vgGw== X-Gm-Message-State: AHQUAuaU8R8IC6O59hD/+rFE3yZhcYnmTfQEwFGgfJ8GqR4D7fViWYah rjM2TLp6UVN7IzXesq/qN9Fn4LhLwLAqzw== X-Google-Smtp-Source: AHgI3Ib27I+qpWYvuRbPPwyedzbv2pl4qemdXHV1i6PswQlJPpgi33JDwSwwDEWXanTyNXczAUwJPg== X-Received: by 2002:a05:6000:8a:: with SMTP id m10mr4118364wrx.79.1549382465457; Tue, 05 Feb 2019 08:01:05 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:02 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:30 +0100 Message-Id: <1549382436-15177-5-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036861 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="FSCMyNbC"; 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 43v8Sz13FDz9sMl for ; Wed, 6 Feb 2019 03:01:23 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id D11DC20780; Tue, 5 Feb 2019 16:01:20 +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 6gvLS0mQKgaM; Tue, 5 Feb 2019 16:01:17 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 7636930D82; Tue, 5 Feb 2019 16:01:15 +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 7953E1BF958 for ; Tue, 5 Feb 2019 16:01:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 76EC985F4B for ; Tue, 5 Feb 2019 16:01:14 +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 3tnT_WtKpGE1 for ; Tue, 5 Feb 2019 16:01:11 +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 3EEE6861F1 for ; Tue, 5 Feb 2019 16:01:11 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id y139so4173083wmc.5 for ; Tue, 05 Feb 2019 08:01:11 -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=FSCMyNbCutURriblyVXmp44azfn7wxdX5cRHLeuLoNY2D4C4/g1e+YpL1DrHnda6gH W38m8X3CF7tNtLVaWLA5rSE1NoI9RVVfPw4eU+QsQdAhCXigagBbwTlTTczTdQuY0Fnh 8QzWzFkQUYi53AZckI9hvY7sBCu75RI45TJoQ= 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=RGSRUNnxUzEiVsqOq8pleO6LSqmr+W1vtVR4H7kJCBu9GJmOsjg+k1yIlhtY6AVFL1 KhyjFG70OZx+6SW8nQcVKirkjs3HqdxKMva/U/6YumrVz6GBi3MkbMtnsXxRqYKamXNy +YrIkurHDWL6oqYieNF+gJYGKh0x7GKx6/8UQyLfqGZpYlhEBtG+jcwNSBd43JxKwQ8W UviR6DeT6hDxwHuq84s7SQPBvjyFaMZlXsgeqzNvzlqkKYXdQFjpxcgXGWTnHqIxry8s 0Tx8tseZnJwVz586OpkuylxTgTB32Fwe8Sb3PpgFF1h219nynf8Wzg0Z1Gt00WlPU6nl aMJQ== X-Gm-Message-State: AHQUAub2wLM+oneU9d61lLfQtnpAvHQgGNMtZhgzagAQjjXDoAygXa7t yawH/dVgZAuywibR7uxT+D9Xs1wpc69SYA== X-Google-Smtp-Source: AHgI3Ib3faGb8fUBn/JdlJgyy98tRK+w5u7SWbqTyNjcu7H9ibE7J/kmMBsW/nxmolfAmHQCgabilA== X-Received: by 2002:a1c:2501:: with SMTP id l1mr4534586wml.102.1549382468516; Tue, 05 Feb 2019 08:01:08 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:05 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:31 +0100 Message-Id: <1549382436-15177-6-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036866 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="k9qVtU+d"; 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 43v8TF6gMrz9sMx for ; Wed, 6 Feb 2019 03:01:37 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 41C618684E; Tue, 5 Feb 2019 16:01:34 +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 C-eDJVtd9gXu; Tue, 5 Feb 2019 16:01:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6F96586234; Tue, 5 Feb 2019 16:01:23 +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 611C41BF958 for ; Tue, 5 Feb 2019 16:01:22 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 30015312E5 for ; Tue, 5 Feb 2019 16:01:22 +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 SUPSUwmsSUA2 for ; Tue, 5 Feb 2019 16:01:21 +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 898D7312C4 for ; Tue, 5 Feb 2019 16:01:16 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id t27so4200783wra.6 for ; Tue, 05 Feb 2019 08:01:16 -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=k9qVtU+dstMV6hwpdUSkVxge1QgXfbaHX7lyJ1pLCVeB5Wtf7Zn7uf9VjF93CgS3tK ToPV+x6HjJHb/g3yvMaN8idZI1/iqjxyAAfDHg1wqGfpK4A5H9zwTWLmezmvf7sZOPGW 5FNclq/5StOK+DQpnw2rIBrk8NGGZcOalWH+0= 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=t+DfbUbQi2b2UuWWZ46zzlEeseOKwOEM25byxECoKPwRqmLg7vu51/C9jXa7pORfEY PUUhNmdlj/QVjQXeIM4m4ULXWz3D46rIUZPwfx/BjftJk2ZFy+trfdUVkThRR5BbLIVP nsNYMMVeHK9R1fHfjPv1r8ol8ldG/iuzDAQcyLgBqK/yGuwMSpBfTBUAaQdO2T1CelRY kCdgoSkeJA82gNZmcpPIypNKe1FEClBUwfCJF8v5hjJmT4QSsi8z84qaB10T88RrvvTT 13xMJRTK+WytfxSsUNcMlnUMl6tQiIrjznqFdc7OjNz6mJtL6TBtzAmXOu0XVnl6VlRy snWw== X-Gm-Message-State: AHQUAuYLi2Mp7GGZSZdPhZcAyoiU8erW05NWloNdZqKdhHNno1LEt2d9 julhlqx3r/DjYzzzfWuX8BfKppNGf/0aBw== X-Google-Smtp-Source: AHgI3IbGIGimlAXDmd76uqcBPARoUdpHBeatOKHHyHxnzeJQNCvK0jdJfKqzIHqhz6FXW53oHXMNaw== X-Received: by 2002:adf:fa87:: with SMTP id h7mr2354104wrr.252.1549382473621; Tue, 05 Feb 2019 08:01:13 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:10 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:32 +0100 Message-Id: <1549382436-15177-7-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036864 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="beDBG4wT"; 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 43v8T85Yv6z9sN9 for ; Wed, 6 Feb 2019 03:01:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4C43886826; Tue, 5 Feb 2019 16:01:31 +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 lMIhzo-jrmz3; Tue, 5 Feb 2019 16:01:26 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2A54586B85; Tue, 5 Feb 2019 16:01:26 +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 8E9521BF958 for ; Tue, 5 Feb 2019 16:01:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 8B5F931041 for ; Tue, 5 Feb 2019 16:01:23 +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 04jjab5dySgX for ; Tue, 5 Feb 2019 16:01:21 +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 silver.osuosl.org (Postfix) with ESMTPS id 67DFD31024 for ; Tue, 5 Feb 2019 16:01:21 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id a62so4204720wmh.4 for ; Tue, 05 Feb 2019 08:01:21 -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=beDBG4wT0Ben1iYKO3RcMk6miHgL03OW8aLrr7S0sxWk9WENp8rK8PoZg+2z+/I4iB pQHgsevkCr9wAayUtKWo80cRpcL1HnFdr0jYrGxgIlpDss0Kcl6ema69JGlKHb1ZcEL2 daXG3gJXyJwYT3KtBE5R3fhQzfGThOQFKeMUw= 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=K2R29x8pnaYUK8ejBKCIea9YsFhTRIQ/XlEL5ofGDdVOTGWQNk0rWiVPELkKtn5AKX EAshCAz4+8LeLMolbKsPPd3uS5fKDISx+cX+BUdjIrg9Brza92vhPO3tao26/YmIo6sd Em3gQk+k5d2FUCcaSuTz7KKFcu5CVayaGZQxiC4dqHELYaxWtgL5hroGtrhAeH+jn2d4 1iKVzjP+erJfoiBMacpyifj0qQnLBS/1NrAd3qztu8BSLtdlxmkRl8KwxvLJIqvEMv1N TxcsQvjmUGd+WYZq3XFPEqC5fiA+iac5yUgSBophsKA2G6lHYpc+cb/k+6xueS2aOmY5 SVWw== X-Gm-Message-State: AHQUAuZDfgVRsEqzKHFr8C4iPRStWDxm5nUdfvTWSvS39h201JcNoseD hQhkOiLbuWdsI4sQCNn5o8S9NUUkwKcWuw== X-Google-Smtp-Source: AHgI3IYnLjGn91Bq5jv9Xsg9o1Jbwyu5/lcRSRoLC3FBRdyDc8UC9q8Sw7qI+qSy7P+fao1utV5hMQ== X-Received: by 2002:a1c:4681:: with SMTP id t123mr4288744wma.24.1549382478581; Tue, 05 Feb 2019 08:01:18 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:16 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:33 +0100 Message-Id: <1549382436-15177-8-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036863 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="Jhnl112p"; 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 43v8T84dg0z9sNG for ; Wed, 6 Feb 2019 03:01:32 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 012398853B; Tue, 5 Feb 2019 16:01:31 +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 L80P-HlTvK16; Tue, 5 Feb 2019 16:01:27 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 16AB78851D; Tue, 5 Feb 2019 16:01:27 +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 765F81BF958 for ; Tue, 5 Feb 2019 16:01:24 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 73E588851D for ; Tue, 5 Feb 2019 16:01:24 +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 F8wTwExuwesS for ; Tue, 5 Feb 2019 16:01:24 +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 hemlock.osuosl.org (Postfix) with ESMTPS id 16D3E87E82 for ; Tue, 5 Feb 2019 16:01:24 +0000 (UTC) Received: by mail-wm1-f67.google.com with SMTP id f188so4216743wmf.5 for ; Tue, 05 Feb 2019 08:01:24 -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=Jhnl112p1uA4XoiyKK5iHzK0/rFUv4whAcDFqlvkCHZG5dIdZrBcRK0uhhvMNk9Z0n l8l6u8qsoBDM3Qv/MwhrYxDccnp87ZNZg+tWugDW59sFbqm5p00rsyHfupzaNE8YEGtq RrLPxl4vy5Wphtpl9Sgk3n5ki1ir0GgPINcT8= 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=RbEJ2pvJ9wn0PmUhYDot9W+FlqZbhi/PDw3Y0U91NMVqJ7lKjf+x4q355lu7toGuDt HY9l7ZcmpUfL/zjAGDC1W0LDKwZtEzN8YwRr/Xd3Mn093pUSQaowLzJwkwixsO5PniJp NgH6/W6FOHM4rBhoGeNvHkYYWUfD5NxfLaAiAkgWjlXcuXmiMxIf5HRDRpRC6iUmkil8 z237Emg+AS6JZoaojvnk7qbcvVP7HOPNC6bh62fVArfpCUIDi8lQ5qJF3nOUxgE4vYeW s3q215lAyhw1/LVK7/iWLuD3RvfwZAk3lfYEYf5KllUXa0RhJEqJKxpYwgLf8idFt3jO 5PJQ== X-Gm-Message-State: AHQUAuY/WZdt/+oBsdb93nm2ugRnOeWEcLY/gi7+3O/T/UagPBl3s/rL dhfkq2vXs/MIVnLdlQqArDLX4XCMHepSYQ== X-Google-Smtp-Source: AHgI3IaNCqD73C79V+1tlfJL7xYA7vInzcXLgvR3UswhMahJgvUpGFwEmeF+egnLAKgu2KUj8l4eUg== X-Received: by 2002:a1c:e242:: with SMTP id z63mr4205681wmg.2.1549382481426; Tue, 05 Feb 2019 08:01:21 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:19 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:34 +0100 Message-Id: <1549382436-15177-9-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036869 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="aL8rK/lY"; 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 43v8TP210Kz9sMx for ; Wed, 6 Feb 2019 03:01:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id B5BFE86A4A; Tue, 5 Feb 2019 16:01:43 +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 zOqrSU9yJeKy; Tue, 5 Feb 2019 16:01:33 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id B663086DD9; Tue, 5 Feb 2019 16:01: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 1E2151BF958 for ; Tue, 5 Feb 2019 16:01:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1B7B620780 for ; Tue, 5 Feb 2019 16:01:31 +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 lZXQ7HFpgqkK for ; Tue, 5 Feb 2019 16:01:30 +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 silver.osuosl.org (Postfix) with ESMTPS id 005472283C for ; Tue, 5 Feb 2019 16:01:29 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id p4so4199771wrt.7 for ; Tue, 05 Feb 2019 08:01:29 -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=aL8rK/lY7dhVRHGaHB1D3plBz3jP+8kTbU9OzfXdSrHEZEL6f5dDjkO4WDUpnvLaRY h82i7phMvLurFTJ9g/SKRWNas2r6Zo4Q34RE8Bo56p4EwSZLtSqxONX8mGm6ssHU0LkY s5U9dgPbsi1a/bcBl+uQ1sduNqQ7fQoz8zD+o= 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=Vym4n2Cmup76jvd1def5tiRlnQTWOJsQ7i91QQ/KbZqnlgAnJlTMS2s/Kp5aLae68K Svt07CMwSahkA+JxIeQYCxf4rT38bUmIyYpY/65rIUVVxbMDQur9W5GnOupG9uccJhYN qWgV61jiyFZDxgjCccfei+ujx37tyg/PlCiJOySXONnsT/pGl632E+O2JAvAQfcwf+rD YksGnFx9ui5vjqr48YXzHExwriT83qWJJ79xefAQAVrNgYWhn/z6tIbskjnrEt4Qcsom +D9QtW2OVz9sqYZ7/vu8S5fAxypPT4b82KhC7FP9CuaLNKseQUev40MEsmbAlyS/0beS 3k/Q== X-Gm-Message-State: AHQUAuYmf3K/zKuQgwbnjuUIzWZRvWUVjtDvKxpdfDM79DeILiGSkzLS QXCrIAZ8GY7zeELPiW97GJNINrX5LuylCA== X-Google-Smtp-Source: AHgI3IafpXHnIJkhhr5D5Ln0odF6jTO2BwNbB0LKUTOlKfoeCig/CoT7BzV9IpdvAjjE7EDm0086wA== X-Received: by 2002:a05:6000:f:: with SMTP id h15mr4052889wrx.248.1549382487202; Tue, 05 Feb 2019 08:01:27 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:23 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:35 +0100 Message-Id: <1549382436-15177-10-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 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 16:00:36 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Angelo Compagnucci X-Patchwork-Id: 1036870 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="ImjWSIDr"; 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 43v8TR4T78z9sMl for ; Wed, 6 Feb 2019 03:01:47 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 2108D86DB4; Tue, 5 Feb 2019 16:01:46 +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 oA6qQe5UxKCF; Tue, 5 Feb 2019 16:01:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0233C86DE9; Tue, 5 Feb 2019 16:01:38 +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 910DF1BF958 for ; Tue, 5 Feb 2019 16:01:35 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 8E53A872CA for ; Tue, 5 Feb 2019 16:01:35 +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 hIMOWRRaiPV3 for ; Tue, 5 Feb 2019 16:01:34 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by whitealder.osuosl.org (Postfix) with ESMTPS id 678A3872DD for ; Tue, 5 Feb 2019 16:01:34 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id q18so4184535wrx.9 for ; Tue, 05 Feb 2019 08:01:34 -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=Hsfhkysyafclzx38SmoleVjByhfN1dng3/ebHZlDwfI=; b=ImjWSIDrDI25FjTNUvC1k5p2xpr/K3EL4/Undbl/mpn4Ir95zucpSM9n0H6WTc28d5 DiFxgBbk2GXgPCE6eGWIp7lzpXw4pk0YgeQ/RiiexiLRVeXyeUt2spmK7/NIfpqOOSOm OGZElzTtMm/Y1LExkTASKJxA6QoPXCexnppXM= 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=Hsfhkysyafclzx38SmoleVjByhfN1dng3/ebHZlDwfI=; b=jVhE5LvwIlt7OYCsSfxBp0/dU4nf8VHRyNNql61xztESkYM/enUUOKkDQQl160bhvd ooKfhQY/GxlDE94cb0qOmvS3/4Soj+5leSrSFuy3xl9UH1sH5a6YHlTwYE/7dn44iTLe tiHBj+MGPS0mt1hHsU2c66TlL/0CuZHWD+DDobV9sL7JaBj0SbJeH743W5yLPb+lFVH+ LJ7H/ked3oAyY0mMBRiu8spVjNoZ1leEN/sU0WhXtvBTUoG9MySoCmkbyQ6OsRbB2MaJ JfCAL8gWUY+Q/IvTuPXqWt+rRTI8Jjwa263HkLm7cvX/rxtmOyvmFliZBUJs70NLMrpQ M7ug== X-Gm-Message-State: AHQUAuaPjMtvlifGFvXEAJyw4ugUNcd0xDtsrLfms/Kudo5O3iNao4qx eFd4zvhHzsRz4EPi1iXfFGqlJ3uv433hfw== X-Google-Smtp-Source: AHgI3Iac1YrD+PQk242yA5eQL5Bbi+fF9cyhw3lbIBG95XcMSHLN85RigpPJwcgMIA26RCzlMWk4Jw== X-Received: by 2002:a05:6000:8a:: with SMTP id m10mr4120016wrx.79.1549382491594; Tue, 05 Feb 2019 08:01:31 -0800 (PST) Received: from localhost.localdomain ([2620:0:1055:fd00:3c25:d51f:f59f:7d82]) by smtp.gmail.com with ESMTPSA id r14sm503986wrr.65.2019.02.05.08.01.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 08:01:29 -0800 (PST) From: Angelo Compagnucci To: buildroot@buildroot.org Date: Tue, 5 Feb 2019 17:00:36 +0100 Message-Id: <1549382436-15177-11-git-send-email-angelo@amarulasolutions.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> References: <1549382436-15177-1-git-send-email-angelo@amarulasolutions.com> Subject: [Buildroot] [PATCH v2 10/10] package/mender-artifact: new package 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. This package uses the binary archive from github because it bundles the external dependencies. 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 --- [v1 -> v2] * Adding LDFLAGS to set the software version * Rewording the commit message 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 | 32 ++++++++++++++++++++++++++++ 5 files changed, 80 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..90d0071 --- /dev/null +++ b/package/mender-artifact/mender-artifact.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# 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_LDFLAGS = -X main.Version=$(HOST_MENDER_ARTIFACT_VERSION) + +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))