1bfe18815SJohn Schmoller# 2bfe18815SJohn Schmoller# Copyright 2007-2008 Freescale Semiconductor, Inc. 3bfe18815SJohn Schmoller# 4bfe18815SJohn Schmoller# This program is free software; you can redistribute it and/or 5bfe18815SJohn Schmoller# modify it under the terms of the GNU General Public License as 6bfe18815SJohn Schmoller# published by the Free Software Foundation; either version 2 of 7bfe18815SJohn Schmoller# the License, or (at your option) any later version. 8bfe18815SJohn Schmoller# 9bfe18815SJohn Schmoller 10bfe18815SJohn Schmollerinclude $(TOPDIR)/config.mk 11bfe18815SJohn Schmoller 12*6d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 13bfe18815SJohn Schmoller 14bfe18815SJohn SchmollerCOBJS-y += $(BOARD).o 15bfe18815SJohn SchmollerCOBJS-y += ddr.o 16bfe18815SJohn SchmollerCOBJS-y += law.o 17bfe18815SJohn SchmollerCOBJS-y += tlb.o 18bfe18815SJohn Schmoller 19bfe18815SJohn SchmollerSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 20bfe18815SJohn SchmollerOBJS := $(addprefix $(obj),$(COBJS-y)) 21bfe18815SJohn SchmollerSOBJS := $(addprefix $(obj),$(SOBJS-y)) 22bfe18815SJohn Schmoller 23bfe18815SJohn Schmoller$(LIB): $(obj).depend $(OBJS) $(SOBJS) 24*6d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 25bfe18815SJohn Schmoller 26bfe18815SJohn Schmollerclean: 27bfe18815SJohn Schmoller rm -f $(OBJS) $(SOBJS) 28bfe18815SJohn Schmoller 29bfe18815SJohn Schmollerdistclean: clean 30bfe18815SJohn Schmoller rm -f $(LIB) core *.bak .depend 31bfe18815SJohn Schmoller 32bfe18815SJohn Schmoller######################################################################### 33bfe18815SJohn Schmoller 34bfe18815SJohn Schmoller# defines $(obj).depend target 35bfe18815SJohn Schmollerinclude $(SRCTREE)/rules.mk 36bfe18815SJohn Schmoller 37bfe18815SJohn Schmollersinclude $(obj).depend 38bfe18815SJohn Schmoller 39bfe18815SJohn Schmoller######################################################################### 40