Stefano Babic | f57fd34 | 2010-11-30 11:46:56 -0500 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000, 2001, 2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
| 5 | # Copyright (C) 2007 Sergey Kubushyn <ksi@koi8.net> |
| 6 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Stefano Babic | f57fd34 | 2010-11-30 11:46:56 -0500 | [diff] [blame] | 8 | # |
| 9 | |
| 10 | include $(TOPDIR)/config.mk |
| 11 | |
Ben Gardiner | add7d3c | 2011-01-11 14:48:16 -0500 | [diff] [blame] | 12 | LIB = $(obj)lib$(BOARD).o |
Stefano Babic | f57fd34 | 2010-11-30 11:46:56 -0500 | [diff] [blame] | 13 | |
| 14 | COBJS-y += ea20.o |
| 15 | |
| 16 | COBJS := $(COBJS-y) |
| 17 | |
| 18 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 19 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 20 | SOBJS := $(addprefix $(obj),$(SOBJS)) |
| 21 | |
| 22 | $(LIB): $(obj).depend $(OBJS) $(SOBJS) |
Mike Frysinger | 57e0deb | 2011-10-18 05:30:17 +0000 | [diff] [blame] | 23 | $(call cmd_link_o_target, $(OBJS) $(SOBJS)) |
Stefano Babic | f57fd34 | 2010-11-30 11:46:56 -0500 | [diff] [blame] | 24 | |
Stefano Babic | f57fd34 | 2010-11-30 11:46:56 -0500 | [diff] [blame] | 25 | ######################################################################### |
| 26 | # This is for $(obj).depend target |
| 27 | include $(SRCTREE)/rules.mk |
| 28 | |
| 29 | sinclude $(obj).depend |
| 30 | |
| 31 | ######################################################################### |