commit fd3c21217bd061cdb8eb81ed33d45fb905813974
Author: Agustí Moll Garcia <agusti@biruji.org>
Date:   Thu Nov 10 07:54:20 2011 +0100

    Fixed crash compile, don't resolve BRANCH_GIT.

diff --git a/Makefile b/Makefile
index eea3ca2..f039e51 100644
--- a/Makefile
+++ b/Makefile
@@ -46,7 +46,7 @@ KCONFIG = $(BUILD_DIR)/$(T)/target/linux/$(ARCH)/config-*
 
 
 define build_src
-	make -C $(BUILD_DIR)/$(T) $(MAKE_SRC) BRANCH_GIT=$(shell git --git-dir=$(BUILD_DIR)/qmp/.git branch|grep ^*|cut -d " " -f 2) REV_GIT=$(shell git --git-dir=$(BUILD_DIR)/qmp/.git --no-pager log -n 1 --oneline|cut -d " " -f 1)
+	make -C $(BUILD_DIR)/$(T) $(MAKE_SRC) BRANCH_GIT=${QMP_GIT_TAG} REV_GIT=${QMP_GIT_TAG}
 endef
 
 define checkout_src
