version.mk: ensure that %S is always populated with a subtarget identifier, fallback...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 24 Sep 2012 18:26:48 +0000 (18:26 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 24 Sep 2012 18:26:48 +0000 (18:26 +0000)
SVN-Revision: 33534

include/version.mk

index 4687dcc2e0b495711c27aa6f5f563da0823b0f0f..2bf709e56e69fc663af24ed5e939ca8611fe525c 100644 (file)
@@ -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' \