2 # (C) Copyright 2000-2002
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 # SPDX-License-Identifier: GPL-2.0+
8 CROSS_COMPILE ?= sh4-linux-
10 CONFIG_STANDALONE_LOAD_ADDR ?= 0x8C000000
12 CONFIG_STANDALONE_LOAD_ADDR += -EB
15 PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
16 PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
17 LDFLAGS_FINAL = --gc-sections