Srinath | 915162d | 2011-04-18 17:40:35 -0400 | [diff] [blame] | 1 | # |
| 2 | # Author: Srinath R <srinath@mistralsolutions.com> |
| 3 | # |
| 4 | # Based on logicpd/am3517evm/Makefile |
| 5 | # |
| 6 | # Copyright (C) 2011 Mistral Solutions Pvt Ltd |
| 7 | # |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 8 | # SPDX-License-Identifier: GPL-2.0+ |
Srinath | 915162d | 2011-04-18 17:40:35 -0400 | [diff] [blame] | 9 | # |
| 10 | |
| 11 | include $(TOPDIR)/config.mk |
| 12 | |
| 13 | LIB = $(obj)lib$(BOARD).o |
| 14 | |
| 15 | COBJS := am3517crane.o |
| 16 | |
| 17 | SRCS := $(COBJS:.o=.c) |
| 18 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 19 | |
| 20 | $(LIB): $(obj).depend $(OBJS) |
| 21 | $(call cmd_link_o_target, $(OBJS)) |
| 22 | |
Srinath | 915162d | 2011-04-18 17:40:35 -0400 | [diff] [blame] | 23 | ######################################################################### |
| 24 | |
| 25 | # defines $(obj).depend target |
| 26 | include $(SRCTREE)/rules.mk |
| 27 | |
| 28 | sinclude $(obj).depend |