Nobuhiro Iwamatsu | 6b7c0f5 | 2010-10-25 03:12:24 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2010 Nobuhiro Iwamatsu |
| 3 | # Copyright (C) 2008 Renesas Solutions Corp. |
| 4 | # |
| 5 | # u-boot/board/shmin/Makefile |
| 6 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Nobuhiro Iwamatsu | 6b7c0f5 | 2010-10-25 03:12:24 +0900 | [diff] [blame] | 8 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
Nobuhiro Iwamatsu | 3569709 | 2011-01-06 12:20:46 +0900 | [diff] [blame] | 11 | LIB = lib$(BOARD).o |
Nobuhiro Iwamatsu | 6b7c0f5 | 2010-10-25 03:12:24 +0900 | [diff] [blame] | 12 | |
| 13 | OBJS := shmin.o |
| 14 | SOBJS := lowlevel_init.o |
| 15 | |
| 16 | LIB := $(addprefix $(obj),$(LIB)) |
| 17 | OBJS := $(addprefix $(obj),$(OBJS)) |
| 18 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 19 | |
| 20 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Mike Frysinger | 26ddff2 | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 21 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Nobuhiro Iwamatsu | 6b7c0f5 | 2010-10-25 03:12:24 +0900 | [diff] [blame] | 22 | |
Nobuhiro Iwamatsu | 6b7c0f5 | 2010-10-25 03:12:24 +0900 | [diff] [blame] | 23 | ######################################################################### |
| 24 | |
| 25 | # defines $(obj).depend target |
| 26 | include $(SRCTREE)/rules.mk |
| 27 | |
| 28 | sinclude $(obj).depend |
| 29 | |
| 30 | ######################################################################### |