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 <a...@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