blob: 17f602f7ef7811727d4c3be2a14c67059b975bc0 [file] [log] [blame]
Dirk Eibachb9944a72013-06-26 15:55:17 +02001#
2# Copyright 2010 Freescale Semiconductor, Inc.
3#
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)
7# any later version.
8#
9
10include $(TOPDIR)/config.mk
11
12LIB = $(obj)lib$(BOARD).o
13
14# COBJS-y += $(BOARD).o
15COBJS-y += law.o
16COBJS-y += ddr.o
17COBJS-y += tlb.o
18COBJS-y += sdhc_boot.o
19COBJS-$(CONFIG_CONTROLCENTERD) += controlcenterd.o controlcenterd-id.o
20
21COBJS-$(CONFIG_FSL_DIU_FB) += diu.o
22
23SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
24OBJS := $(addprefix $(obj),$(COBJS-y))
25SOBJS := $(addprefix $(obj),$(SOBJS))
26
27$(LIB): $(OBJS) $(SOBJS)
28 $(call cmd_link_o_target, $(OBJS))
29
30#########################################################################
31
32# defines $(obj).depend target
33include $(SRCTREE)/rules.mk
34
35sinclude $(obj).depend
36
37#########################################################################