summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-09-24 18:26:48 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-09-24 18:26:48 +0000
commit1cd6237979dafaa5d1e7ec9502dc022015bbc795 (patch)
treebd91a606bf463506bb54b450a28c431801e7b919 /include
parentc7c649126f7c97edf1f72e9b9cbaa0c79f0a1dab (diff)
downloadmtk-20170518-1cd6237979dafaa5d1e7ec9502dc022015bbc795.zip
mtk-20170518-1cd6237979dafaa5d1e7ec9502dc022015bbc795.tar.gz
mtk-20170518-1cd6237979dafaa5d1e7ec9502dc022015bbc795.tar.bz2
version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
SVN-Revision: 33534
Diffstat (limited to 'include')
-rw-r--r--include/version.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/version.mk b/include/version.mk
index 4687dcc..2bf709e 100644
--- a/include/version.mk
+++ b/include/version.mk
@@ -40,4 +40,4 @@ VERSION_SED:=$(SED) 's,%U,$(VERSION_REPO),g' \
-e 's,%d,\L$(subst $(space),_,$(VERSION_DIST)),g' \
-e 's,%R,$(REVISION),g' \
-e 's,%T,$(BOARD),g' \
- -e 's,%S,$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET)),g' \
+ -e 's,%S,$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic),g' \