1f0a2c7b4SIlko Iliev# 2f0a2c7b4SIlko Iliev# (C) Copyright 2003-2008 3f0a2c7b4SIlko Iliev# Wolfgang Denk, DENX Software Engineering, wd@denx.de. 4f0a2c7b4SIlko Iliev# 5f0a2c7b4SIlko Iliev# (C) Copyright 2008 6*c9e798d3SStelian Pop# Stelian Pop <stelian@popies.net> 7f0a2c7b4SIlko Iliev# Lead Tech Design <www.leadtechdesign.com> 8f0a2c7b4SIlko Iliev# Ilko Iliev <www.ronetix.at> 9f0a2c7b4SIlko Iliev# 10f0a2c7b4SIlko Iliev# See file CREDITS for list of people who contributed to this 11f0a2c7b4SIlko Iliev# project. 12f0a2c7b4SIlko Iliev# 13f0a2c7b4SIlko Iliev# This program is free software; you can redistribute it and/or 14f0a2c7b4SIlko Iliev# modify it under the terms of the GNU General Public License as 15f0a2c7b4SIlko Iliev# published by the Free Software Foundation; either version 2 of 16f0a2c7b4SIlko Iliev# the License, or (at your option) any later version. 17f0a2c7b4SIlko Iliev# 18f0a2c7b4SIlko Iliev# This program is distributed in the hope that it will be useful, 19f0a2c7b4SIlko Iliev# but WITHOUT ANY WARRANTY; without even the implied warranty of 20f0a2c7b4SIlko Iliev# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21f0a2c7b4SIlko Iliev# GNU General Public License for more details. 22f0a2c7b4SIlko Iliev# 23f0a2c7b4SIlko Iliev# You should have received a copy of the GNU General Public License 24f0a2c7b4SIlko Iliev# along with this program; if not, write to the Free Software 25f0a2c7b4SIlko Iliev# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 26f0a2c7b4SIlko Iliev# MA 02111-1307 USA 27f0a2c7b4SIlko Iliev# 28f0a2c7b4SIlko Iliev 29f0a2c7b4SIlko Ilievinclude $(TOPDIR)/config.mk 30f0a2c7b4SIlko Iliev 316d8962e8SSebastien CarlierLIB = $(obj)lib$(BOARD).o 32f0a2c7b4SIlko Iliev 33f0a2c7b4SIlko IlievCOBJS-y += pm9263.o 34f0a2c7b4SIlko IlievCOBJS-y += led.o 35f0a2c7b4SIlko IlievCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o 36f0a2c7b4SIlko Iliev 37f0a2c7b4SIlko IlievSRCS := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c) 38f0a2c7b4SIlko IlievOBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS-y)) 39f0a2c7b4SIlko IlievSOBJS := $(addprefix $(obj),$(SOBJS-y)) 40f0a2c7b4SIlko Iliev 41f0a2c7b4SIlko Iliev$(LIB): $(obj).depend $(OBJS) $(SOBJS) 426d8962e8SSebastien Carlier $(call cmd_link_o_target, $(OBJS)) 43f0a2c7b4SIlko Iliev 44f0a2c7b4SIlko Iliev######################################################################### 45f0a2c7b4SIlko Iliev 46f0a2c7b4SIlko Iliev# defines $(obj).depend target 47f0a2c7b4SIlko Ilievinclude $(SRCTREE)/rules.mk 48f0a2c7b4SIlko Iliev 49f0a2c7b4SIlko Ilievsinclude $(obj).depend 50f0a2c7b4SIlko Iliev 51f0a2c7b4SIlko Iliev######################################################################### 52