aboutsummaryrefslogtreecommitdiffstats
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
commit5630868deebf9f3d5efce27d0a0c45930764cd00 (patch)
tree58a8e278a4c3a4309a95f398d175ed3d641f9d88 /include
parentebc05051727541e6f6171391fe6bbdd1acd17f04 (diff)
downloadupstream-5630868deebf9f3d5efce27d0a0c45930764cd00.tar.gz
upstream-5630868deebf9f3d5efce27d0a0c45930764cd00.tar.bz2
upstream-5630868deebf9f3d5efce27d0a0c45930764cd00.zip
[include] version.mk: ensure that %S is always populated with a subtarget identifier, fallback to "generic" if no subtarget exists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33534 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 4687dcc2e0..2bf709e56e 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' \