1*b9944a77SDirk Eibach# 2*b9944a77SDirk Eibach# Copyright 2010 Freescale Semiconductor, Inc. 3*b9944a77SDirk Eibach# 4*b9944a77SDirk Eibach# This program is free software; you can redistribute it and/or modify it 5*b9944a77SDirk Eibach# under the terms of the GNU General Public License as published by the Free 6*b9944a77SDirk Eibach# Software Foundation; either version 2 of the License, or (at your option) 7*b9944a77SDirk Eibach# any later version. 8*b9944a77SDirk Eibach# 9*b9944a77SDirk Eibach 10*b9944a77SDirk Eibachinclude $(TOPDIR)/config.mk 11*b9944a77SDirk Eibach 12*b9944a77SDirk EibachLIB = $(obj)lib$(BOARD).o 13*b9944a77SDirk Eibach 14*b9944a77SDirk Eibach# COBJS-y += $(BOARD).o 15*b9944a77SDirk EibachCOBJS-y += law.o 16*b9944a77SDirk EibachCOBJS-y += ddr.o 17*b9944a77SDirk EibachCOBJS-y += tlb.o 18*b9944a77SDirk EibachCOBJS-y += sdhc_boot.o 19*b9944a77SDirk EibachCOBJS-$(CONFIG_CONTROLCENTERD) += controlcenterd.o controlcenterd-id.o 20*b9944a77SDirk Eibach 21*b9944a77SDirk EibachCOBJS-$(CONFIG_FSL_DIU_FB) += diu.o 22*b9944a77SDirk Eibach 23*b9944a77SDirk EibachSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 24*b9944a77SDirk EibachOBJS := $(addprefix $(obj),$(COBJS-y)) 25*b9944a77SDirk EibachSOBJS := $(addprefix $(obj),$(SOBJS)) 26*b9944a77SDirk Eibach 27*b9944a77SDirk Eibach$(LIB): $(OBJS) $(SOBJS) 28*b9944a77SDirk Eibach $(call cmd_link_o_target, $(OBJS)) 29*b9944a77SDirk Eibach 30*b9944a77SDirk Eibach######################################################################### 31*b9944a77SDirk Eibach 32*b9944a77SDirk Eibach# defines $(obj).depend target 33*b9944a77SDirk Eibachinclude $(SRCTREE)/rules.mk 34*b9944a77SDirk Eibach 35*b9944a77SDirk Eibachsinclude $(obj).depend 36*b9944a77SDirk Eibach 37*b9944a77SDirk Eibach######################################################################### 38