Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2010, Marek Vasut <marek.vasut@gmail.com> |
| 3 | # |
| 4 | # BASED ON: imx51evk |
| 5 | # |
| 6 | # Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de> |
| 7 | # |
| 8 | # (C) Copyright 2009 Freescale Semiconductor, Inc. |
| 9 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 10 | # SPDX-License-Identifier: GPL-2.0+ |
Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 11 | # |
| 12 | |
| 13 | include $(TOPDIR)/config.mk |
| 14 | |
| 15 | LIB = $(obj)lib$(BOARD).o |
| 16 | |
Matt Sealey | 0d7d383 | 2012-08-23 04:52:33 +0000 | [diff] [blame] | 17 | COBJS := efikamx.o efikamx-usb.o |
Marek Vasut | d98d8bc | 2011-06-24 21:46:07 +0200 | [diff] [blame] | 18 | |
Fabio Estevam | 38e984d | 2012-05-29 07:39:59 +0000 | [diff] [blame] | 19 | SRCS := $(COBJS:.o=.c) |
Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 20 | OBJS := $(addprefix $(obj),$(COBJS)) |
Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 21 | |
Fabio Estevam | 38e984d | 2012-05-29 07:39:59 +0000 | [diff] [blame] | 22 | $(LIB): $(obj).depend $(OBJS) |
| 23 | $(call cmd_link_o_target, $(OBJS)) |
Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 24 | |
Marek Vasut | d591401 | 2011-01-19 04:40:37 +0000 | [diff] [blame] | 25 | ######################################################################### |
| 26 | |
| 27 | # defines $(obj).depend target |
| 28 | include $(SRCTREE)/rules.mk |
| 29 | |
| 30 | sinclude $(obj).depend |
| 31 | |
| 32 | ######################################################################### |