From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH 1/2] at91bootstrap2: Revise make env and opt
Date: Tue, 19 Nov 2019 14:41:45 +0100 [thread overview]
Message-ID: <20191119134146.2808-2-ada@thorsis.com> (raw)
In-Reply-To: <20191119134146.2808-1-ada@thorsis.com>
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 <ada@thorsis.com>
---
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
next prev parent reply other threads:[~2019-11-19 13:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-19 13:41 [ptxdist] [PATCH 0/2] bootloader improvements Alexander Dahl
2019-11-19 13:41 ` Alexander Dahl [this message]
2019-11-19 13:41 ` [ptxdist] [PATCH 2/2] u-boot: Build out-of-tree Alexander Dahl
2019-11-19 15:51 ` Bruno Thomsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191119134146.2808-2-ada@thorsis.com \
--to=ada@thorsis.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox