2011-05-13 01:58:55 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2011 Freescale Semiconductor, Inc.
|
|
|
|
# Jason Liu <r64343@freescale.com>
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-05-13 01:58:55 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(BOARD).o
|
|
|
|
|
2012-11-10 02:32:46 +00:00
|
|
|
COBJS-y += mx53loco.o
|
|
|
|
COBJS-$(CONFIG_VIDEO) += mx53loco_video.o
|
2011-05-13 01:58:55 +00:00
|
|
|
|
2012-11-10 02:32:46 +00:00
|
|
|
COBJS := $(COBJS-y)
|
2012-05-29 07:39:54 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
2011-05-13 01:58:55 +00:00
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
2012-05-29 07:39:54 +00:00
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2011-05-13 01:58:55 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|