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