mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-11 13:56:30 +00:00
08f11151c2
-ffixed-r13 is defined commonly for sh2, sh3, sh4. Move it to arch/sh/config.mk Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
18 lines
451 B
Makefile
18 lines
451 B
Makefile
#
|
|
# (C) Copyright 2000-2002
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
CROSS_COMPILE ?= sh4-linux-
|
|
|
|
CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000
|
|
ifeq ($(CPU),sh2)
|
|
CONFIG_STANDALONE_LOAD_ADDR += -EB
|
|
endif
|
|
|
|
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
|
|
PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
|
|
LDFLAGS_FINAL = --gc-sections
|
|
PLATFORM_RELFLAGS += -ffixed-r13
|