mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
9b6e2c363f
The syntax CROSS_COMIPLE ?= <cross_compiler_prefix> does not work because config.mk is parsed after exporting CROSS_COMPILE. Like Linux Kernel's arch/$(ARCH)/Makefile, we must write as follows: ifeq ($(CROSS_COMPILE),) CROSS_COMPILE := <cross_compiler_prefix> endif Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
19 lines
392 B
Makefile
19 lines
392 B
Makefile
#
|
|
# (C) Copyright 2007-2008 Michal Simek
|
|
# Michal SIMEK <monstr@monstr.eu>
|
|
#
|
|
# (C) Copyright 2004 Atmark Techno, Inc.
|
|
# Yasushi SHOJI <yashi@atmark-techno.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifeq ($(CROSS_COMPILE),)
|
|
CROSS_COMPILE := mb-
|
|
endif
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
|
|
|
|
PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
|
|
|
|
LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
|