# HG changeset patch # User "Yann E. MORIN" # Date 1269887090 -7200 # Node ID a4c4e51aa5417fe78875777adbaa87e8c0930680 # Parent 619a87a015623b3e3c0ea414064ec37f5909d191 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). diff -r 619a87a01562 -r a4c4e51aa541 config/binutils.in --- a/config/binutils.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/binutils.in Mon Mar 29 20:24:50 2010 +0200 @@ -38,8 +38,8 @@ 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 -r 619a87a01562 -r a4c4e51aa541 config/cc.in --- a/config/cc.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/cc.in Mon Mar 29 20:24:50 2010 +0200 @@ -8,7 +8,7 @@ config CC_VERSION string -source config.gen/cc.in +source "config.gen/cc.in" config CC_SUPPORT_CXX bool diff -r 619a87a01562 -r a4c4e51aa541 config/companion_libs.in --- a/config/companion_libs.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/companion_libs.in Mon Mar 29 20:24:50 2010 +0200 @@ -139,32 +139,32 @@ 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 -r 619a87a01562 -r a4c4e51aa541 config/config.in --- a/config/config.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/config.in Mon Mar 29 20:24:50 2010 +0200 @@ -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 -r 619a87a01562 -r a4c4e51aa541 config/config.mk --- a/config/config.mk Mon Mar 29 20:15:25 2010 +0200 +++ b/config/config.mk Mon Mar 29 20:24:50 2010 +0200 @@ -103,12 +103,12 @@ 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 @@ echo " $${dep_val#\# }"; \ fi; \ echo "if $(3)_$${_entry}"; \ - echo "source $${file}"; \ + echo "source \"$${file}\""; \ echo "endif"; \ echo ""; \ done; \ diff -r 619a87a01562 -r a4c4e51aa541 config/debug.in --- a/config/debug.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/debug.in Mon Mar 29 20:24:50 2010 +0200 @@ -1,3 +1,3 @@ menu "Debug facilities" -source config.gen/debug.in +source "config.gen/debug.in" endmenu diff -r 619a87a01562 -r a4c4e51aa541 config/kernel.in --- a/config/kernel.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/kernel.in Mon Mar 29 20:24:50 2010 +0200 @@ -21,7 +21,7 @@ config KERNEL_VERSION string -source config.gen/kernel.in +source "config.gen/kernel.in" comment "Common kernel options" diff -r 619a87a01562 -r a4c4e51aa541 config/libc.in --- a/config/libc.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/libc.in Mon Mar 29 20:24:50 2010 +0200 @@ -19,7 +19,7 @@ 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 -r 619a87a01562 -r a4c4e51aa541 config/target.in --- a/config/target.in Mon Mar 29 20:15:25 2010 +0200 +++ b/config/target.in Mon Mar 29 20:24:50 2010 +0200 @@ -39,7 +39,7 @@ comment "General target options" -source config.gen/arch.in +source "config.gen/arch.in" #-------------------------------------- config ARCH_SUPPORTS_BOTH_MMU