summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-29 18:24:50 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-29 18:24:50 (GMT)
commitd276ce2a4fbb5c86bdc7b8cab3860c34741751af (patch)
treee4ab393aaf1cbd5445cc4432c8a17fea1c6806cd
parent712f0c9919a43cac22ef0bfa8f0cb07f24e810db (diff)
config: fix style issues when source-ing files
Always enclose the sourced file between double-quotes (purely for consistency; enclosing or not are both allowed by the kconfig language).
-rw-r--r--config/binutils.in6
-rw-r--r--config/cc.in2
-rw-r--r--config/companion_libs.in12
-rw-r--r--config/config.in22
-rw-r--r--config/config.mk6
-rw-r--r--config/debug.in2
-rw-r--r--config/kernel.in2
-rw-r--r--config/libc.in2
-rw-r--r--config/target.in2
9 files changed, 28 insertions, 28 deletions
diff --git a/config/binutils.in b/config/binutils.in
index f09bd11..60fc99b 100644
--- a/config/binutils.in
+++ b/config/binutils.in
@@ -38,8 +38,8 @@ endif # ! ARCH_USE_MMU
endchoice
-source config/binutils/binutils.in
-source config/binutils/elf2flt.in
-source config/binutils/sstrip.in
+source "config/binutils/binutils.in"
+source "config/binutils/elf2flt.in"
+source "config/binutils/sstrip.in"
endmenu
diff --git a/config/cc.in b/config/cc.in
index df714e2..8869f03 100644
--- a/config/cc.in
+++ b/config/cc.in
@@ -8,7 +8,7 @@ config CC
config CC_VERSION
string
-source config.gen/cc.in
+source "config.gen/cc.in"
config CC_SUPPORT_CXX
bool
diff --git a/config/companion_libs.in b/config/companion_libs.in
index 64cf138..9543284 100644
--- a/config/companion_libs.in
+++ b/config/companion_libs.in
@@ -139,32 +139,32 @@ config LIBELF_TARGET
if GMP || GMP_TARGET
comment "GMP version needed to build for target"
depends on !GMP
-source config/companion_libs/gmp.in
+source "config/companion_libs/gmp.in"
endif
if MPFR || MPFR_TARGET
comment "MPFR version needed to build for target"
depends on !MPFR
-source config/companion_libs/mpfr.in
+source "config/companion_libs/mpfr.in"
endif
if PPL || PPL_TARGET
comment "PPL version needed to build for target"
depends on !PPL
-source config/companion_libs/ppl.in
+source "config/companion_libs/ppl.in"
endif
if CLOOG || CLOOG_TARGET
comment "CLOOG version needed to build for target"
depends on !CLOOG
-source config/companion_libs/cloog.in
+source "config/companion_libs/cloog.in"
endif
if MPC || MPC_TARGET
comment "MPC version needed to build for target"
depends on !MPC
-source config/companion_libs/mpc.in
+source "config/companion_libs/mpc.in"
endif
if LIBELF || LIBELF_TARGET
comment "libelf version needed to build for target"
depends on !LIBELF
-source config/companion_libs/libelf.in
+source "config/companion_libs/libelf.in"
endif
config FOO
diff --git a/config/config.in b/config/config.in
index a013f94..ab71d1a 100644
--- a/config/config.in
+++ b/config/config.in
@@ -1,13 +1,13 @@
-source config/backend.in
+source "config/backend.in"
if ! BACKEND_ERROR
-source config/global.in
-source config/target.in
-source config/toolchain.in
-source config/kernel.in
-source config/binutils.in
-source config/cc.in
-source config/libc.in
-source config/debug.in
-source config/companion_libs.in
-source config/companion_tools.in
+source "config/global.in"
+source "config/target.in"
+source "config/toolchain.in"
+source "config/kernel.in"
+source "config/binutils.in"
+source "config/cc.in"
+source "config/libc.in"
+source "config/debug.in"
+source "config/companion_libs.in"
+source "config/companion_tools.in"
endif # ! BACKEND_ERROR
diff --git a/config/config.mk b/config/config.mk
index 09dc12d..21cb779 100644
--- a/config/config.mk
+++ b/config/config.mk
@@ -103,12 +103,12 @@ define build_gen_choice_in
echo "if $(3)_$${_entry}"; \
echo "config $(3)"; \
echo " default \"$${entry}\" if $(3)_$${_entry}"; \
- echo "source $${file}"; \
+ echo "source \"$${file}\""; \
echo "endif"; \
done; \
echo ""; \
for file in $(wildcard $(4)/*.in-common); do \
- echo "source $${file}"; \
+ echo "source \"$${file}\""; \
done; \
) >$(1)
endef
@@ -138,7 +138,7 @@ define build_gen_menu_in
echo " $${dep_val#\# }"; \
fi; \
echo "if $(3)_$${_entry}"; \
- echo "source $${file}"; \
+ echo "source \"$${file}\""; \
echo "endif"; \
echo ""; \
done; \
diff --git a/config/debug.in b/config/debug.in
index faa165e..9fd99ef 100644
--- a/config/debug.in
+++ b/config/debug.in
@@ -1,3 +1,3 @@
menu "Debug facilities"
-source config.gen/debug.in
+source "config.gen/debug.in"
endmenu
diff --git a/config/kernel.in b/config/kernel.in
index bbaec77..6dd9c6c 100644
--- a/config/kernel.in
+++ b/config/kernel.in
@@ -21,7 +21,7 @@ config KERNEL
config KERNEL_VERSION
string
-source config.gen/kernel.in
+source "config.gen/kernel.in"
comment "Common kernel options"
diff --git a/config/libc.in b/config/libc.in
index 42fe272..de6955e 100644
--- a/config/libc.in
+++ b/config/libc.in
@@ -19,7 +19,7 @@ config LIBC_VERSION
So if you want to be able to re-build your toolchain later, you will
have to save your C library tarball by yourself.
-source config.gen/libc.in
+source "config.gen/libc.in"
config LIBC_SUPPORT_NPTL
bool
diff --git a/config/target.in b/config/target.in
index 3db2609..0a3e1bb 100644
--- a/config/target.in
+++ b/config/target.in
@@ -39,7 +39,7 @@ config TARGET_LDFLAGS
comment "General target options"
-source config.gen/arch.in
+source "config.gen/arch.in"
#--------------------------------------
config ARCH_SUPPORTS_BOTH_MMU