summaryrefslogtreecommitdiff
path: root/nuttx/tools/Config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools/Config.mk')
-rw-r--r--nuttx/tools/Config.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/nuttx/tools/Config.mk b/nuttx/tools/Config.mk
index 004a7e5bd..07d88392e 100644
--- a/nuttx/tools/Config.mk
+++ b/nuttx/tools/Config.mk
@@ -33,6 +33,9 @@
#
############################################################################
-CONFIG_ARCH := $(shell echo $(CONFIG_ARCH))
-CONFIG_ARCH_CHIP := $(shell echo $(CONFIG_ARCH_CHIP))
-CONFIG_ARCH_BOARD := $(shell echo $(CONFIG_ARCH_BOARD))
+# These are configuration variables that are quoted by configuration tool
+# but which must be unquoated when used in the build system.
+
+CONFIG_ARCH := $(patsubst "%",%,$(strip $(CONFIG_ARCH)))
+CONFIG_ARCH_CHIP := $(patsubst "%",%,$(strip $(CONFIG_ARCH_CHIP)))
+CONFIG_ARCH_BOARD := $(patsubst "%",%,$(strip $(CONFIG_ARCH_BOARD)))