diff options
author | Stefan Roese <sr@denx.de> | 2007-02-19 11:01:02 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2007-02-19 11:01:02 +0100 |
commit | 64bd5e82141911576762a5bf14e525e2c22c1ec4 (patch) | |
tree | 6d7ea8c3e7856870b892eb58b3dd8b85c056aaeb /board/motionpro/Makefile | |
parent | dd768162c2b3b17f4a350fe91424e06e2e8cbf54 (diff) | |
parent | bc2b9c338350c6e160726c900dcb1483e1f9b4a5 (diff) | |
download | u-boot-imx-64bd5e82141911576762a5bf14e525e2c22c1ec4.zip u-boot-imx-64bd5e82141911576762a5bf14e525e2c22c1ec4.tar.gz u-boot-imx-64bd5e82141911576762a5bf14e525e2c22c1ec4.tar.bz2 |
Merge with git+ssh://sr@pollux.denx.org/home/sr/git/u-boot/denx/.git
Diffstat (limited to 'board/motionpro/Makefile')
-rw-r--r-- | board/motionpro/Makefile | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/board/motionpro/Makefile b/board/motionpro/Makefile new file mode 100644 index 0000000..698ead1 --- /dev/null +++ b/board/motionpro/Makefile @@ -0,0 +1,50 @@ +# +# (C) Copyright 2003-2007 +# Wolfgang Denk, DENX Software Engineering, wd@denx.de. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).a + +COBJS := $(BOARD).o + +SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) + $(AR) $(ARFLAGS) $@ $(OBJS) + +clean: + rm -f $(SOBJS) $(OBJS) + +distclean: clean + rm -f $(LIB) core *.bak .depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### |