]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - lib_blackfin/Makefile
ppc4xx: Fix USB 2.0 phy reset sequence
[karo-tx-uboot.git] / lib_blackfin / Makefile
index 3197fe1c90b5dfa76f8e52562008115e08173614..3f69770d678fd15bdb4be0f96091a4640b89d3bd 100644 (file)
@@ -1,7 +1,7 @@
 #
 # U-boot Makefile
 #
-# Copyright (c) 2005 blackfin.uclinux.org
+# Copyright (c) 2005-2008 Analog Devices Inc.
 #
 # (C) Copyright 2000-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 #
 # 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
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+# MA 02110-1301 USA
 #
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(ARCH).a
-
-SOBJS  = memcpy.o memcmp.o memset.o memmove.o
+CFLAGS += -DBFIN_BOARD_NAME='"$(BOARD)"'
 
-COBJS  = post.o tests.o board.o bf533_linux.o bf533_string.o cache.o muldi3.o
+LIB    = $(obj)lib$(ARCH).a
 
-SRCS   := $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS   := $(addprefix $(obj),$(SOBJS) $(COBJS))
+SOBJS-y        += memcmp.o
+SOBJS-y        += memcpy.o
+SOBJS-y        += memmove.o
+SOBJS-y        += memset.o
+
+COBJS-y        += board.o
+COBJS-y        += bootm.o
+COBJS-y        += cache.o
+COBJS-y        += muldi3.o
+COBJS-y        += post.o
+COBJS-y        += string.o
+COBJS-y        += tests.o
+
+SRCS   := $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS   := $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
 
 $(LIB):        $(obj).depend $(OBJS)
        $(AR) $(ARFLAGS) $@ $(OBJS)