]> git.sur5r.net Git - u-boot/blob - board/gdsys/p1022/Makefile
mpc85xx: Add gdsys ControlCenter Digital board
[u-boot] / board / gdsys / p1022 / Makefile
1 #
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
10 include $(TOPDIR)/config.mk
11
12 LIB     = $(obj)lib$(BOARD).o
13
14 # COBJS-y       += $(BOARD).o
15 COBJS-y += law.o
16 COBJS-y += ddr.o
17 COBJS-y += tlb.o
18 COBJS-y += sdhc_boot.o
19 COBJS-$(CONFIG_CONTROLCENTERD) += controlcenterd.o controlcenterd-id.o
20
21 COBJS-$(CONFIG_FSL_DIU_FB) += diu.o
22
23 SRCS    := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
24 OBJS    := $(addprefix $(obj),$(COBJS-y))
25 SOBJS   := $(addprefix $(obj),$(SOBJS))
26
27 $(LIB): $(OBJS) $(SOBJS)
28         $(call cmd_link_o_target, $(OBJS))
29
30 #########################################################################
31
32 # defines $(obj).depend target
33 include $(SRCTREE)/rules.mk
34
35 sinclude $(obj).depend
36
37 #########################################################################