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> SVN-Revision: 39242
This commit is contained in:
parent
4282d796ea
commit
8751499973
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ define Profile
|
||||||
$(SH_FUNC) getvar "$(call shvar,Profile/$(1)/Description)"; \
|
$(SH_FUNC) getvar "$(call shvar,Profile/$(1)/Description)"; \
|
||||||
echo "@@"; \
|
echo "@@"; \
|
||||||
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)
|
PROFILE=$(1)
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
Loading…
Reference in a new issue