From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.thorsis.com ([92.198.35.195]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iX3lR-0004dw-5e for ptxdist@pengutronix.de; Tue, 19 Nov 2019 14:41:53 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.thorsis.com (Postfix) with ESMTP id 31416468B for ; Tue, 19 Nov 2019 14:43:02 +0100 (CET) Received: from mail.thorsis.com ([127.0.0.1]) by localhost (mail.thorsis.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1NDqPl7OpRxP for ; Tue, 19 Nov 2019 14:43:02 +0100 (CET) Received: from adahl by ada.ifak-system.com with local (Exim 4.89) (envelope-from ) id 1iX3lK-0000kI-RK for ptxdist@pengutronix.de; Tue, 19 Nov 2019 14:41:46 +0100 From: Alexander Dahl Date: Tue, 19 Nov 2019 14:41:45 +0100 Message-Id: <20191119134146.2808-2-ada@thorsis.com> In-Reply-To: <20191119134146.2808-1-ada@thorsis.com> References: <20191119134146.2808-1-ada@thorsis.com> Subject: [ptxdist] [PATCH 1/2] at91bootstrap2: Revise make env and opt List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de The 'ARCH=$(PTXCONF_BAREBOX_ARCH_STRING)' is present since first version of this package and maybe a leftover from some other package this is based on. However that ARCH variable is not used by the at91boostrap 3.x Makefile and barebox might not even be enabled. The CROSS_COMPILE variable is changed to what other bootloader packages use, and we support passing V=1 now. Signed-off-by: Alexander Dahl --- rules/at91bootstrap2.make | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rules/at91bootstrap2.make b/rules/at91bootstrap2.make index dcceb17cf..47031fd6c 100644 --- a/rules/at91bootstrap2.make +++ b/rules/at91bootstrap2.make @@ -32,10 +32,10 @@ AT91BOOTSTRAP2_LICENSE := unknown AT91BOOTSTRAP2_WRAPPER_BLACKLIST := \ $(PTXDIST_LOWLEVEL_WRAPPER_BLACKLIST) -AT91BOOTSTRAP2_MAKE_OPT := \ - HOSTCC=$(HOSTCC) \ - ARCH=$(PTXCONF_BAREBOX_ARCH_STRING) \ - CROSS_COMPILE=$(COMPILER_PREFIX) +AT91BOOTSTRAP2_MAKE_ENV := \ + CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) \ + HOSTCC=$(HOSTCC) +AT91BOOTSTRAP2_MAKE_OPT := V=$(PTXDIST_VERBOSE) ifdef PTXCONF_AT91BOOTSTRAP2 $(AT91BOOTSTRAP2_CONFIG): -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de