xref: /openbmc/u-boot/board/ronetix/pm9261/Makefile (revision c9e798d3)
132949232SIlko Iliev#
232949232SIlko Iliev# (C) Copyright 2003-2008
332949232SIlko Iliev# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
432949232SIlko Iliev#
532949232SIlko Iliev# (C) Copyright 2008
6c9e798d3SStelian Pop# Stelian Pop <stelian@popies.net>
732949232SIlko Iliev# Lead Tech Design <www.leadtechdesign.com>
832949232SIlko Iliev# Ilko Iliev <www.ronetix.at>
932949232SIlko Iliev#
1032949232SIlko Iliev# See file CREDITS for list of people who contributed to this
1132949232SIlko Iliev# project.
1232949232SIlko Iliev#
1332949232SIlko Iliev# This program is free software; you can redistribute it and/or
1432949232SIlko Iliev# modify it under the terms of the GNU General Public License as
1532949232SIlko Iliev# published by the Free Software Foundation; either version 2 of
1632949232SIlko Iliev# the License, or (at your option) any later version.
1732949232SIlko Iliev#
1832949232SIlko Iliev# This program is distributed in the hope that it will be useful,
1932949232SIlko Iliev# but WITHOUT ANY WARRANTY; without even the implied warranty of
2032949232SIlko Iliev# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2132949232SIlko Iliev# GNU General Public License for more details.
2232949232SIlko Iliev#
2332949232SIlko Iliev# You should have received a copy of the GNU General Public License
2432949232SIlko Iliev# along with this program; if not, write to the Free Software
2532949232SIlko Iliev# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
2632949232SIlko Iliev# MA 02111-1307 USA
2732949232SIlko Iliev#
2832949232SIlko Iliev
2932949232SIlko Ilievinclude $(TOPDIR)/config.mk
3032949232SIlko Iliev
31*6d8962e8SSebastien CarlierLIB	= $(obj)lib$(BOARD).o
3232949232SIlko Iliev
3332949232SIlko IlievCOBJS-y += $(BOARD).o
3432949232SIlko IlievCOBJS-y += led.o
3532949232SIlko IlievCOBJS-$(CONFIG_HAS_DATAFLASH) += partition.o
3632949232SIlko Iliev
3732949232SIlko IlievSRCS	:= $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
3832949232SIlko IlievOBJS	:= $(addprefix $(obj),$(COBJS-y) $(SOBJS-y))
3932949232SIlko IlievSOBJS	:= $(addprefix $(obj),$(SOBJS-y))
4032949232SIlko Iliev
4132949232SIlko Iliev$(LIB):	$(obj).depend $(OBJS) $(SOBJS)
42*6d8962e8SSebastien Carlier	$(call cmd_link_o_target, $(OBJS))
4332949232SIlko Iliev
4432949232SIlko Iliev#########################################################################
4532949232SIlko Iliev
4632949232SIlko Iliev# defines $(obj).depend target
4732949232SIlko Ilievinclude $(SRCTREE)/rules.mk
4832949232SIlko Iliev
4932949232SIlko Ilievsinclude $(obj).depend
5032949232SIlko Iliev
5132949232SIlko Iliev#########################################################################
52