commit efd8371e7619cf4a5d575ff72278d28472789baa
Author: Simó Albert i Beltran <sim6@probeta.net>
Date:   Sat Jun 23 22:35:22 2012 +0200

    Fix update_all, if variable T is specified, only update this target, closes #164.

diff --git a/Makefile b/Makefile
index e2fa654..f964a14 100644
--- a/Makefile
+++ b/Makefile
@@ -180,8 +180,7 @@ update: .checkout_owrt_pkg .checkout_owrt_pkg_override .checkout_qmp .checkout_b
 	cd $(BUILD_DIR)/b6m && git pull
 
 update_all: update
-	$(if $(TARGET),HW_AVAILABLE=$(TARGET))
-	$(foreach dir,$(HW_AVAILABLE),$(if $(wildcard $(BUILD_DIR)/$(dir)),$(call update_feeds,$(dir))))
+	$(if $(TARGET),$(call update_feeds,$(TARGET)),$(foreach dir,$(HW_AVAILABLE),$(if $(wildcard $(BUILD_DIR)/$(dir)),$(call update_feeds,$(dir)))))
 
 menuconfig: checkout
 	$(call menuconfig_owrt)
