mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Masahiro Yamada](/assets/img/avatar_default.png)
CONFIG_${ARCH} is defined by Kconfig. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reviewed-by: Simon Glass <sjg@chromium.org>
17 lines
331 B
Makefile
17 lines
331 B
Makefile
#
|
|
# (C) Copyright 2011
|
|
# Julius Baxter <julius@opencores.org>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
ifeq ($(CROSS_COMPILE),)
|
|
CROSS_COMPILE := or32-elf-
|
|
endif
|
|
|
|
# r10 used for global object pointer, already set in OR32 GCC but just to be
|
|
# clear
|
|
PLATFORM_CPPFLAGS += -D__OR1K__ -ffixed-r10
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
|