update uci - fixes a bug in parse_uci_tuple
[openwrt.git] / include / toplevel.mk
index 63325aa..4e194bf 100644 (file)
@@ -12,7 +12,12 @@ PREP_MK= OPENWRT_BUILD= QUIET=0
 
 include $(TOPDIR)/include/verbose.mk
 
-REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
+ifeq ($(SDK),1)
+  include $(TOPDIR)/include/version.mk
+else
+  REVISION:=$(shell $(TOPDIR)/scripts/getver.sh)
+endif
+
 OPENWRTVERSION:=$(RELEASE)$(if $(REVISION), ($(REVISION)))
 export RELEASE
 export REVISION
This page took 0.020084 seconds and 4 git commands to generate.