Commit 42f5e8a25ad1a7504502e7f11ff4d563f1d6f1dd

Authored by Łukasz Majewski
Committed by Albert ARIBAUD
1 parent 284bb60ed6

build:arm: Remove setting of CROSS_COMPILE environment variable

After Kbuild introduction, the CROSS_COMPILE environment variable has been
set to some default value (prefix arm-linux-).

This shall be removed since it breaks building u-boot for native arm target
(like qemu ARM).
Moreover not all compilers have arm-linux- prefix.

Additionally the u-boot cross compiles with CROSS_COMPILE= set explicitly-
e.g.:
CROSS_COMPILE=/ .... /arm-v7a-linux-gnueabi- make

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>

Showing 1 changed file with 0 additions and 4 deletions Side-by-side Diff

... ... @@ -5,10 +5,6 @@
5 5 # SPDX-License-Identifier: GPL-2.0+
6 6 #
7 7  
8   -ifeq ($(CROSS_COMPILE),)
9   -CROSS_COMPILE := arm-linux-
10   -endif
11   -
12 8 ifndef CONFIG_STANDALONE_LOAD_ADDR
13 9 ifneq ($(CONFIG_OMAP_COMMON),)
14 10 CONFIG_STANDALONE_LOAD_ADDR = 0x80300000