blob: 176a8b6e9fd16a839514b0d140f565a4ae8fa2c9 [file] [log] [blame]
Jason Liuf5b81c82011-05-13 01:58:55 +00001#
2# (C) Copyright 2011 Freescale Semiconductor, Inc.
3# Jason Liu <r64343@freescale.com>
4#
Wolfgang Denkd79de1d2013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
Jason Liuf5b81c82011-05-13 01:58:55 +00006#
7
8include $(TOPDIR)/config.mk
9
10LIB = $(obj)lib$(BOARD).o
11
Vikram Narayanan8bb48d62012-11-10 02:32:46 +000012COBJS-y += mx53loco.o
13COBJS-$(CONFIG_VIDEO) += mx53loco_video.o
Jason Liuf5b81c82011-05-13 01:58:55 +000014
Vikram Narayanan8bb48d62012-11-10 02:32:46 +000015COBJS := $(COBJS-y)
Fabio Estevamfa4c18c2012-05-29 07:39:54 +000016SRCS := $(COBJS:.o=.c)
Jason Liuf5b81c82011-05-13 01:58:55 +000017OBJS := $(addprefix $(obj),$(COBJS))
Jason Liuf5b81c82011-05-13 01:58:55 +000018
Fabio Estevamfa4c18c2012-05-29 07:39:54 +000019$(LIB): $(obj).depend $(OBJS)
20 $(call cmd_link_o_target, $(OBJS))
Jason Liuf5b81c82011-05-13 01:58:55 +000021
Jason Liuf5b81c82011-05-13 01:58:55 +000022#########################################################################
23
24# defines $(obj).depend target
25include $(SRCTREE)/rules.mk
26
27sinclude $(obj).depend
28
29#########################################################################