Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 1 | # (C) Copyright 2013 Freescale Semiconductor, Inc. |
| 2 | # |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame^] | 3 | # SPDX-License-Identifier: GPL-2.0+ |
Fabio Estevam | 26e9c97 | 2013-04-10 09:32:58 +0000 | [diff] [blame] | 4 | # |
| 5 | |
| 6 | include $(TOPDIR)/config.mk |
| 7 | |
| 8 | LIB = $(obj)lib$(BOARD).o |
| 9 | |
| 10 | COBJS := mx6slevk.o |
| 11 | |
| 12 | SRCS := $(COBJS:.o=.c) |
| 13 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 14 | |
| 15 | $(LIB): $(obj).depend $(OBJS) |
| 16 | $(call cmd_link_o_target, $(OBJS)) |
| 17 | |
| 18 | ######################################################################### |
| 19 | |
| 20 | # defines $(obj).depend target |
| 21 | include $(SRCTREE)/rules.mk |
| 22 | |
| 23 | sinclude $(obj).depend |
| 24 | |
| 25 | ######################################################################### |