mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-03 18:10:13 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
17 lines
418 B
Makefile
17 lines
418 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
|