Blackfin: cleanup and overhaul common board init functions
[oweals/u-boot.git] / lib_blackfin / Makefile
index b53cdd6412ffc506db44743753937d35525f1696..36171048acb35815fa5454c5f47e4fa72e518515 100644 (file)
@@ -1,7 +1,7 @@
 #
 # U-boot Makefile
 #
-# Copyright (c) 2005-2007 Analog Devices Inc.
+# Copyright (c) 2005-2008 Analog Devices Inc.
 #
 # (C) Copyright 2000-2006
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
@@ -27,6 +27,8 @@
 
 include $(TOPDIR)/config.mk
 
+CFLAGS += -DBFIN_BOARD_NAME='"$(BOARD)"'
+
 LIB    = $(obj)lib$(ARCH).a
 
 SOBJS-y        += memcmp.o