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