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