xref: /openbmc/u-boot/arch/sh/config.mk (revision 006442b3)
1ea0364f1SPeter Tyser#
2ea0364f1SPeter Tyser# (C) Copyright 2000-2002
3ea0364f1SPeter Tyser# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4ea0364f1SPeter Tyser#
5ea0364f1SPeter Tyser# See file CREDITS for list of people who contributed to this
6ea0364f1SPeter Tyser# project.
7ea0364f1SPeter Tyser#
8ea0364f1SPeter Tyser# This program is free software; you can redistribute it and/or
9ea0364f1SPeter Tyser# modify it under the terms of the GNU General Public License as
10ea0364f1SPeter Tyser# published by the Free Software Foundation; either version 2 of
11ea0364f1SPeter Tyser# the License, or (at your option) any later version.
12ea0364f1SPeter Tyser#
13ea0364f1SPeter Tyser# This program is distributed in the hope that it will be useful,
14ea0364f1SPeter Tyser# but WITHOUT ANY WARRANTY; without even the implied warranty of
15ea0364f1SPeter Tyser# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16ea0364f1SPeter Tyser# GNU General Public License for more details.
17ea0364f1SPeter Tyser#
18ea0364f1SPeter Tyser# You should have received a copy of the GNU General Public License
19ea0364f1SPeter Tyser# along with this program; if not, write to the Free Software
20ea0364f1SPeter Tyser# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21ea0364f1SPeter Tyser# MA 02111-1307 USA
22ea0364f1SPeter Tyser#
23ea0364f1SPeter Tyser
24ea0364f1SPeter TyserCROSS_COMPILE ?= sh4-linux-
25ea0364f1SPeter Tyser
26ea0364f1SPeter TyserSTANDALONE_LOAD_ADDR = 0x8C000000
27ea0364f1SPeter Tyserifeq ($(CPU),sh2)
28ea0364f1SPeter TyserSTANDALONE_LOAD_ADDR += -EB
29ea0364f1SPeter Tyserendif
30ea0364f1SPeter Tyser
31ea0364f1SPeter TyserPLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
32*006442b3SNobuhiro IwamatsuPLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
33ea0364f1SPeter Tyser
34ea0364f1SPeter TyserLDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
35