2 # Copyright 2010 Freescale Semiconductor, Inc.
4 # This program is free software; you can redistribute it and/or modify it
5 # under the terms of the GNU General Public License as published by the Free
6 # Software Foundation; either version 2 of the License, or (at your option)
10 include $(TOPDIR)/config.mk
12 LIB = $(obj)lib$(BOARD).o
14 # COBJS-y += $(BOARD).o
18 COBJS-y += sdhc_boot.o
19 COBJS-$(CONFIG_CONTROLCENTERD) += controlcenterd.o controlcenterd-id.o
21 COBJS-$(CONFIG_FSL_DIU_FB) += diu.o
23 SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
24 OBJS := $(addprefix $(obj),$(COBJS-y))
25 SOBJS := $(addprefix $(obj),$(SOBJS))
27 $(LIB): $(OBJS) $(SOBJS)
28 $(call cmd_link_o_target, $(OBJS))
30 #########################################################################
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
35 sinclude $(obj).depend
37 #########################################################################