mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
a5b04d00bf
Fix up rsk7203 target to build successfully using out-of-tree build. Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2007,2008 Nobuhiro Iwamatsu
|
|
# Copyright (C) 2008 Renesas Solutions Corp.
|
|
#
|
|
# u-boot/board/rsk7203/Makefile
|
|
#
|
|
# 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 = lib$(BOARD).a
|
|
|
|
OBJS := rsk7203.o
|
|
SOBJS := lowlevel_init.o
|
|
|
|
LIB := $(addprefix $(obj),$(LIB))
|
|
OBJS := $(addprefix $(obj),$(OBJS))
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
|
|
|
clean:
|
|
rm -f $(SOBJS) $(OBJS)
|
|
|
|
distclean: clean
|
|
rm -f $(LIB) core *.bak .depend
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|