From patchwork Fri May 11 10:10:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anisse Astier X-Patchwork-Id: 911892 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=astier.eu Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=astier-eu.20150623.gappssmtp.com header.i=@astier-eu.20150623.gappssmtp.com header.b="BaYjmAFf"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40j5dN5FDTz9s08 for ; Fri, 11 May 2018 20:18:00 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3944F22661; Fri, 11 May 2018 10:17:56 +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 89c1jeBaL2Cc; Fri, 11 May 2018 10:17:54 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 5439722E54; Fri, 11 May 2018 10:17:54 +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 A63CD1C0AD8 for ; Fri, 11 May 2018 10:17:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id A2605888C2 for ; Fri, 11 May 2018 10:17:52 +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 fcQEgPVp5Ra4 for ; Fri, 11 May 2018 10:17:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by whitealder.osuosl.org (Postfix) with ESMTPS id 95E40885DF for ; Fri, 11 May 2018 10:17:51 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id a67-v6so1892784wmf.3 for ; Fri, 11 May 2018 03:17:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=astier-eu.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YSaHaU06B5fdcbWPfvtxCqel5bOs/KazxkVlahDTDYI=; b=BaYjmAFfZlab+oqhTJVrQgnw4lQFI4NW6PqFoSnGDLZDEi0bNe/B6a5rnSVK8ICxhb cgA4IRt8b+Lo4DsVTmS9EwCrSued3NDN1PTibso1FfYfUKHM+ffySGBdhcuQYaxDdQPn vcUUjaDgYCLmXAZZQkfvPemipJOb6F/Wq6ACBjHkmWajSPO0pa92BgrszlgkvahXlYWM k5MPoVSM/OQXOauMwDV9AES34BXuw5OyYY6w95vABWVLnhxSISIX3D3gFt8mShCh1n6b TXiOMgmlUoO9UEKss6T5rBDaUAwGBdhhRQdY7+VDB90zpW6IFAorXxqjDxA1OAFlwNuE 3aqw== 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=YSaHaU06B5fdcbWPfvtxCqel5bOs/KazxkVlahDTDYI=; b=pkTDz1aFk9Q8dvJHQs0t2Qz0KzbT+PEYcj/ZqtSn5Pqfgk58YmlqAWu61C1aJaOF/b FCfZqpaOL7wqTPoYJE0rLjbmKrUDr5Qmx989CR9AGE4/rpZ/PKnrZc+Q28y7osuTuHSU niHf8xyvDa5PhwtoKBDFr0NEXUzXkK2j+/UPmIDuQxJGpDXxH3rCeFHSQtABA9LtlXC7 dj5aHj/cppaH8ZRziYw7QvZ2LZyWAkcfHd5nOXgQFrRRGb2shUhOgoY2nuRJ9+KUvCg+ vfF9mb4y6cvV1eba7j7L7jLQfALBx0AWx0aHdauqghre05E1G3knJvOfTpvEVTOdZX6b 3/WQ== X-Gm-Message-State: ALKqPwch2cHiNUwUzkwKWEsEcUlfLhugA4idaePn/3WU2L83eOD2eeYo 1H83t5eWcfYvHllRsLcPTGgc26ToBgc= X-Google-Smtp-Source: AB8JxZpLao7TwVN48OzhuXxCn18h2uUO5GP7of2FgXO2zIJpHIsd8+756CG8cmD1rTqo5Z+UvC/j6g== X-Received: by 2002:a1c:b45:: with SMTP id 66-v6mr1358654wml.155.1526033427806; Fri, 11 May 2018 03:10:27 -0700 (PDT) Received: from localhost.localdomain ([2a01:e34:ef92:b70:1505:6c60:cd3f:a8c7]) by smtp.gmail.com with ESMTPSA id y9-v6sm2878883wrh.63.2018.05.11.03.10.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 03:10:26 -0700 (PDT) From: Anisse Astier To: buildroot@buildroot.org Date: Fri, 11 May 2018 12:10:19 +0200 Message-Id: <20180511101020.10295-3-anisse@astier.eu> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180511101020.10295-1-anisse@astier.eu> References: <20180511101020.10295-1-anisse@astier.eu> Subject: [Buildroot] [PATCH 2/3] go: honor building with V=1 for debugging purposes X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geoff Levand , Thomas Petazzoni , Anisse Astier MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Anisse Astier --- package/go/go.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/go/go.mk b/package/go/go.mk index 37bb9801c2..bc5aca2bb7 100644 --- a/package/go/go.mk +++ b/package/go/go.mk @@ -76,10 +76,13 @@ HOST_GO_TARGET_CC = \ CC_FOR_TARGET="$(TARGET_CC)" \ CXX_FOR_TARGET="$(TARGET_CXX)" +ifneq ($(V),) +VERBOSE=-v +endif define HOST_GO_BUILD_CMDS cd $(@D)/src && \ - $(HOST_GO_MAKE_ENV) $(HOST_GO_TARGET_CC) CGO_ENABLED=$(HOST_GO_CGO_ENABLED) ./make.bash + $(HOST_GO_MAKE_ENV) $(HOST_GO_TARGET_CC) CGO_ENABLED=$(HOST_GO_CGO_ENABLED) ./make.bash $(VERBOSE) endef define HOST_GO_INSTALL_CMDS