diff options
author | Nobuhiro Iwamatsu <iwamatsu@rahute.(none)> | 2007-05-13 11:58:00 (GMT) |
---|---|---|
committer | Nobuhiro Iwamatsu <iwamatsu@rahute.(none)> | 2007-05-13 11:58:00 (GMT) |
commit | 0b135cfc2e524dc249b75057b55dd4cc09842e27 (patch) | |
tree | a342e571738e4777bbb2b66246412e9d9aaa81c2 /cpu/sh4/Makefile | |
parent | abca901869c3760b6c5fecb825db6c1d91a78a93 (diff) | |
download | u-boot-0b135cfc2e524dc249b75057b55dd4cc09842e27.tar.xz |
sh: First support code of SuperH.
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'cpu/sh4/Makefile')
-rw-r--r-- | cpu/sh4/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/cpu/sh4/Makefile b/cpu/sh4/Makefile new file mode 100644 index 0000000..b24a280 --- /dev/null +++ b/cpu/sh4/Makefile @@ -0,0 +1,46 @@ +# +# (C) Copyright 2000-2006 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# (C) Copyright 2007 +# Nobuhiro Iwamatsu <iwamatsu@nigauri.org> +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(CPU).a + +START = start.o +OBJS = cpu.o interrupts.o watchdog.o time.o + +all: .depend $(START) $(LIB) + +$(LIB): $(OBJS) + $(AR) crv $@ $(OBJS) + +######################################################################### + +.depend: Makefile $(START:.o=.S) $(OBJS:.o=.c) + $(CC) -M $(CFLAGS) $(START:.o=.S) $(OBJS:.o=.c) > $@ + +sinclude .depend + +######################################################################### |