Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 1 | # (C) Copyright 2013 Freescale Semiconductor, Inc. |
| 2 | # |
| 3 | # This program is free software; you can redistribute it and/or |
| 4 | # modify it under the terms of the GNU General Public License as |
| 5 | # published by the Free Software Foundation; either version 2 of |
| 6 | # the License, or (at your option) any later version. |
| 7 | # |
| 8 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
| 11 | LIB = $(obj)lib$(BOARD).o |
| 12 | |
| 13 | COBJS := mx6slevk.o |
| 14 | |
| 15 | SRCS := $(COBJS:.o=.c) |
| 16 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 17 | |
| 18 | $(LIB): $(obj).depend $(OBJS) |
| 19 | $(call cmd_link_o_target, $(OBJS)) |
| 20 | |
| 21 | ######################################################################### |
| 22 | |
| 23 | # defines $(obj).depend target |
| 24 | include $(SRCTREE)/rules.mk |
| 25 | |
| 26 | sinclude $(obj).depend |
| 27 | |
| 28 | ######################################################################### |