Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 1 | # |
| 2 | # (C) Copyright 2000, 2001, 2002 |
| 3 | # Wolfgang Denk, DENX Software Engineering, wd@denx.de. |
| 4 | # |
| 5 | # Adapted from ti/evm/Makefile |
| 6 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 7 | # SPDX-License-Identifier: GPL-2.0+ |
Raphael Assenat | 843a7ee | 2012-10-22 05:23:46 +0000 | [diff] [blame] | 8 | # |
| 9 | |
| 10 | include $(TOPDIR)/config.mk |
| 11 | |
| 12 | LIB = $(obj)lib$(BOARD).o |
| 13 | |
| 14 | COBJS := eco5pk.o |
| 15 | |
| 16 | SRCS := $(COBJS:.o=.c) |
| 17 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 18 | |
| 19 | $(LIB): $(obj).depend $(OBJS) |
| 20 | $(call cmd_link_o_target, $(OBJS)) |
| 21 | |
| 22 | ######################################################################### |
| 23 | |
| 24 | # defines $(obj).depend target |
| 25 | include $(SRCTREE)/rules.mk |
| 26 | |
| 27 | sinclude $(obj).depend |