2011-01-27 10:58:05 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2010,2011 Nvidia Corporation.
|
|
|
|
#
|
|
|
|
# (C) Copyright 2000-2003
|
|
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
|
|
#
|
2013-07-08 07:37:19 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2011-01-27 10:58:05 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
|
|
|
LIB = $(obj)lib$(SOC).o
|
|
|
|
|
2012-10-17 13:24:49 +00:00
|
|
|
COBJS-$(CONFIG_PWM_TEGRA) += pwm.o
|
2012-10-17 13:24:50 +00:00
|
|
|
COBJS-$(CONFIG_VIDEO_TEGRA) += display.o
|
2011-01-27 10:58:05 +00:00
|
|
|
|
2012-02-27 10:52:49 +00:00
|
|
|
COBJS := $(COBJS-y)
|
2012-08-31 08:30:01 +00:00
|
|
|
SRCS := $(COBJS:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS))
|
2011-01-27 10:58:05 +00:00
|
|
|
|
|
|
|
all: $(obj).depend $(LIB)
|
|
|
|
|
|
|
|
$(LIB): $(OBJS)
|
2011-10-18 05:30:17 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2011-01-27 10:58:05 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|