2010-02-05 14:13:58 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007, Guennadi Liakhovetski <lg@denx.de>
|
|
|
|
#
|
|
|
|
# (C) Copyright 2009 Freescale Semiconductor, Inc.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2010-02-05 14:13:58 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2010-02-05 14:13:58 +00:00
|
|
|
|
2012-11-10 02:28:52 +00:00
|
|
|
COBJS-y += mx51evk.o
|
|
|
|
COBJS-$(CONFIG_VIDEO) += mx51evk_video.o
|
2010-02-05 14:13:58 +00:00
|
|
|
|
2012-11-10 02:28:52 +00:00
|
|
|
COBJS := $(COBJS-y)
|
2012-05-29 07:39:58 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
2010-02-05 14:13:58 +00:00
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
|
|
|
|
2012-05-29 07:39:58 +00:00
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2010-02-05 14:13:58 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|