mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
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>
20 lines
392 B
Makefile
20 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
|