17608d75fSKim Phillips# 27608d75fSKim Phillips# (C) Copyright 2006 37608d75fSKim Phillips# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 47608d75fSKim Phillips# 57608d75fSKim Phillips# See file CREDITS for list of people who contributed to this 67608d75fSKim Phillips# project. 77608d75fSKim Phillips# 87608d75fSKim Phillips# This program is free software; you can redistribute it and/or 97608d75fSKim Phillips# modify it under the terms of the GNU General Public License as 107608d75fSKim Phillips# published by the Free Software Foundation; either version 2 of 117608d75fSKim Phillips# the License, or (at your option) any later version. 127608d75fSKim Phillips# 137608d75fSKim Phillips# This program is distributed in the hope that it will be useful, 147608d75fSKim Phillips# but WITHOUT ANY WARRANTY; without even the implied warranty of 157608d75fSKim Phillips# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 167608d75fSKim Phillips# GNU General Public License for more details. 177608d75fSKim Phillips# 187608d75fSKim Phillips# You should have received a copy of the GNU General Public License 197608d75fSKim Phillips# along with this program; if not, write to the Free Software 207608d75fSKim Phillips# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 217608d75fSKim Phillips# MA 02111-1307 USA 227608d75fSKim Phillips# 237608d75fSKim Phillips 247608d75fSKim Phillipsinclude $(TOPDIR)/config.mk 257608d75fSKim Phillips 267608d75fSKim Phillipsifneq ($(OBJTREE),$(SRCTREE)) 277608d75fSKim Phillips$(shell mkdir -p $(obj)board/$(VENDOR)/common) 287608d75fSKim Phillipsendif 297608d75fSKim Phillips 307608d75fSKim PhillipsLIB = $(obj)lib$(VENDOR).a 317608d75fSKim Phillips 326ece2550SKumar GalaCOBJS-$(CONFIG_FSL_CADMUS) += cadmus.o 336ece2550SKumar GalaCOBJS-$(CONFIG_FSL_VIA) += cds_via.o 346ece2550SKumar GalaCOBJS-$(CONFIG_FSL_DIU_FB) += fsl_diu_fb.o fsl_logo_bmp.o 356ece2550SKumar GalaCOBJS-$(CONFIG_FSL_PIXIS) += pixis.o 366ece2550SKumar GalaCOBJS-$(CONFIG_FSL_NGPIXIS) += ngpixis.o 376ece2550SKumar GalaCOBJS-$(CONFIG_PQ_MDS_PIB) += pq-mds-pib.o 386ece2550SKumar GalaCOBJS-$(CONFIG_ID_EEPROM) += sys_eeprom.o 396ece2550SKumar GalaCOBJS-$(CONFIG_FSL_SGMII_RISER) += sgmii_riser.o 4025eedb2cSJon Loeliger 416ece2550SKumar GalaCOBJS-$(CONFIG_MPC8541CDS) += cds_pci_ft.o 426ece2550SKumar GalaCOBJS-$(CONFIG_MPC8548CDS) += cds_pci_ft.o 436ece2550SKumar GalaCOBJS-$(CONFIG_MPC8555CDS) += cds_pci_ft.o 4425eedb2cSJon Loeliger 45*509c4c4cSKumar GalaCOBJS-$(CONFIG_MPC8572DS) += ics307_clk.o 46c59e1b4dSTimur TabiCOBJS-$(CONFIG_P1022DS) += ics307_clk.o 47ebf9d526SKumar GalaCOBJS-$(CONFIG_P2020DS) += ics307_clk.o 487608d75fSKim Phillips 49ad8f8687SJon LoeligerSRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) 50ad8f8687SJon LoeligerOBJS := $(addprefix $(obj),$(COBJS-y)) 517608d75fSKim PhillipsSOBJS := $(addprefix $(obj),$(SOBJS)) 527608d75fSKim Phillips 537608d75fSKim Phillips$(LIB): $(obj).depend $(OBJS) 547608d75fSKim Phillips $(AR) $(ARFLAGS) $@ $(OBJS) 557608d75fSKim Phillips 567608d75fSKim Phillipsclean: 577608d75fSKim Phillips rm -f $(SOBJS) $(OBJS) 587608d75fSKim Phillips 597608d75fSKim Phillipsdistclean: clean 60c8a3b109SWolfgang Denk rm -f $(LIB) core *.bak $(obj).depend 617608d75fSKim Phillips 627608d75fSKim Phillips######################################################################### 637608d75fSKim Phillips 647608d75fSKim Phillips# defines $(obj).depend target 657608d75fSKim Phillipsinclude $(SRCTREE)/rules.mk 667608d75fSKim Phillips 677608d75fSKim Phillipssinclude $(obj).depend 687608d75fSKim Phillips 697608d75fSKim Phillips######################################################################### 70