2009-03-17 09:06:40 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Author: Grzegorz Bernacki, Semihalf, gjb@semihalf.com
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
|
2010-11-05 14:48:07 +00:00
|
|
|
LIB = $(obj)lib$(BOARD).o
|
2009-03-17 09:06:40 +00:00
|
|
|
|
2011-05-29 21:16:20 +00:00
|
|
|
COBJS-y := $(BOARD).o cmd_mtc.o
|
|
|
|
COBJS-$(CONFIG_VIDEO) += cmd_disp.o
|
2009-03-17 09:06:40 +00:00
|
|
|
|
2011-05-29 21:16:20 +00:00
|
|
|
SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
|
|
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
2009-03-17 09:06:40 +00:00
|
|
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
|
|
|
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
2010-11-05 14:48:07 +00:00
|
|
|
$(call cmd_link_o_target, $(OBJS))
|
2009-03-17 09:06:40 +00:00
|
|
|
|
|
|
|
#########################################################################
|
|
|
|
|
|
|
|
# defines $(obj).depend target
|
|
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
|
|
|
|
sinclude $(obj).depend
|
|
|
|
|
|
|
|
#########################################################################
|