]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
unify the Blackfin board targets
authorMike Frysinger <vapier@gentoo.org>
Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 5 Feb 2008 00:26:55 +0000 (19:26 -0500)
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Makefile

index 0f6cc59aeeba4ff3fe36bcd0be5308b08f881804..2413ed62943e7d4ae6898e33d839a8b051e9b177 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2827,20 +2827,19 @@ xupv2p_config:  unconfig
        @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
        @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
 
-#########################################################################
-## Blackfin
-#########################################################################
-bf533-ezkit_config:    unconfig
-       @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
+#========================================================================
+# Blackfin
+#========================================================================
 
-bf533-stamp_config:    unconfig
-       @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
+# Analog Devices boards
+BFIN_BOARDS = bf533-ezkit bf533-stamp bf537-stamp bf561-ezkit
 
-bf537-stamp_config:    unconfig
-       @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
+$(BFIN_BOARDS:%=%_config)      : unconfig
+       @$(MKCONFIG) $(@:_config=) blackfin $(firstword $(subst -, ,$@)) $(@:_config=)
 
-bf561-ezkit_config:    unconfig
-       @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
+$(BFIN_BOARDS):
+       $(MAKE) $@_config
+       $(MAKE)
 
 #========================================================================
 # AVR32