diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-12 12:27:32 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-12 12:27:32 +0000 |
commit | ff1b72ca65248b931a4697a4a4d4199e27fb0fd5 (patch) | |
tree | c8a47e3be2f27ae709ec157d055ff899227da11f /include | |
parent | 12f9439621ab69a505af4ccac6e15e2d16c91db3 (diff) | |
download | upstream-ff1b72ca65248b931a4697a4a4d4199e27fb0fd5.tar.gz upstream-ff1b72ca65248b931a4697a4a4d4199e27fb0fd5.tar.bz2 upstream-ff1b72ca65248b931a4697a4a4d4199e27fb0fd5.zip |
Fix build for individual profiles with dashes in names
Config symbols can have regular dashes, e.g.
CONFIG_TARGET_ramips_rt305x_UR-336UN=y
So no substitution should be performed on the last part of the symbol.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39242 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/target.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/target.mk b/include/target.mk index eca218e0b3..ccec41f71c 100644 --- a/include/target.mk +++ b/include/target.mk @@ -76,7 +76,7 @@ define Profile $(SH_FUNC) getvar "$(call shvar,Profile/$(1)/Description)"; \ echo "@@"; \ echo; - ifeq ($(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(if $(SUBTARGET),$(SUBTARGET)_)$(1))),y) + ifeq ($(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(if $(SUBTARGET),$(SUBTARGET)_))$(1)),y) PROFILE=$(1) endif endef |