On 12/01/14 13:13, Paul Fertser wrote:
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<fercer...@gmail.com>
---
  include/target.mk | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/target.mk b/include/target.mk
index eca218e..ccec41f 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


thanks ... i have been working around this for ages and never found the time to actually fix it ;)
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to