summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-24 18:26:48 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-09-24 18:26:48 +0000
commit639abfa638b7d49bf87f6f97c3a4ce4ce98d5c83 (patch)
tree58a8e278a4c3a4309a95f398d175ed3d641f9d88
parent537aa8de44f0cb50b223cad3a9e0bfe2404fad8d (diff)
[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
-rw-r--r--include/version.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/version.mk b/include/version.mk
index 4687dcc2e..2bf709e56 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' \