config: fix style issues when source-ing files
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 29 20:24:50 2010 +0200 (2010-03-29)
changeset 1870a4c4e51aa541
parent 1869 619a87a01562
child 1871 dfc2b3e07ea6
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).
config/binutils.in
config/cc.in
config/companion_libs.in
config/config.in
config/config.mk
config/debug.in
config/kernel.in
config/libc.in
config/target.in
     1.1 --- a/config/binutils.in	Mon Mar 29 20:15:25 2010 +0200
     1.2 +++ b/config/binutils.in	Mon Mar 29 20:24:50 2010 +0200
     1.3 @@ -38,8 +38,8 @@
     1.4  
     1.5  endchoice
     1.6  
     1.7 -source config/binutils/binutils.in
     1.8 -source config/binutils/elf2flt.in
     1.9 -source config/binutils/sstrip.in
    1.10 +source "config/binutils/binutils.in"
    1.11 +source "config/binutils/elf2flt.in"
    1.12 +source "config/binutils/sstrip.in"
    1.13  
    1.14  endmenu
     2.1 --- a/config/cc.in	Mon Mar 29 20:15:25 2010 +0200
     2.2 +++ b/config/cc.in	Mon Mar 29 20:24:50 2010 +0200
     2.3 @@ -8,7 +8,7 @@
     2.4  config CC_VERSION
     2.5      string
     2.6  
     2.7 -source config.gen/cc.in
     2.8 +source "config.gen/cc.in"
     2.9  
    2.10  config CC_SUPPORT_CXX
    2.11      bool
     3.1 --- a/config/companion_libs.in	Mon Mar 29 20:15:25 2010 +0200
     3.2 +++ b/config/companion_libs.in	Mon Mar 29 20:24:50 2010 +0200
     3.3 @@ -139,32 +139,32 @@
     3.4  if GMP || GMP_TARGET
     3.5  comment "GMP version needed to build for target"
     3.6      depends on !GMP
     3.7 -source config/companion_libs/gmp.in
     3.8 +source "config/companion_libs/gmp.in"
     3.9  endif
    3.10  if MPFR || MPFR_TARGET
    3.11  comment "MPFR version needed to build for target"
    3.12      depends on !MPFR
    3.13 -source config/companion_libs/mpfr.in
    3.14 +source "config/companion_libs/mpfr.in"
    3.15  endif
    3.16  if PPL || PPL_TARGET
    3.17  comment "PPL version needed to build for target"
    3.18      depends on !PPL
    3.19 -source config/companion_libs/ppl.in
    3.20 +source "config/companion_libs/ppl.in"
    3.21  endif
    3.22  if CLOOG || CLOOG_TARGET
    3.23  comment "CLOOG version needed to build for target"
    3.24      depends on !CLOOG
    3.25 -source config/companion_libs/cloog.in
    3.26 +source "config/companion_libs/cloog.in"
    3.27  endif
    3.28  if MPC || MPC_TARGET
    3.29  comment "MPC version needed to build for target"
    3.30      depends on !MPC
    3.31 -source config/companion_libs/mpc.in
    3.32 +source "config/companion_libs/mpc.in"
    3.33  endif
    3.34  if LIBELF || LIBELF_TARGET
    3.35  comment "libelf version needed to build for target"
    3.36      depends on !LIBELF
    3.37 -source config/companion_libs/libelf.in
    3.38 +source "config/companion_libs/libelf.in"
    3.39  endif
    3.40  
    3.41  config FOO
     4.1 --- a/config/config.in	Mon Mar 29 20:15:25 2010 +0200
     4.2 +++ b/config/config.in	Mon Mar 29 20:24:50 2010 +0200
     4.3 @@ -1,13 +1,13 @@
     4.4 -source config/backend.in
     4.5 +source "config/backend.in"
     4.6  if ! BACKEND_ERROR
     4.7 -source config/global.in
     4.8 -source config/target.in
     4.9 -source config/toolchain.in
    4.10 -source config/kernel.in
    4.11 -source config/binutils.in
    4.12 -source config/cc.in
    4.13 -source config/libc.in
    4.14 -source config/debug.in
    4.15 -source config/companion_libs.in
    4.16 -source config/companion_tools.in
    4.17 +source "config/global.in"
    4.18 +source "config/target.in"
    4.19 +source "config/toolchain.in"
    4.20 +source "config/kernel.in"
    4.21 +source "config/binutils.in"
    4.22 +source "config/cc.in"
    4.23 +source "config/libc.in"
    4.24 +source "config/debug.in"
    4.25 +source "config/companion_libs.in"
    4.26 +source "config/companion_tools.in"
    4.27  endif # ! BACKEND_ERROR
     5.1 --- a/config/config.mk	Mon Mar 29 20:15:25 2010 +0200
     5.2 +++ b/config/config.mk	Mon Mar 29 20:24:50 2010 +0200
     5.3 @@ -103,12 +103,12 @@
     5.4  	    echo "if $(3)_$${_entry}";                                          \
     5.5  	    echo "config $(3)";                                                 \
     5.6  	    echo "    default \"$${entry}\" if $(3)_$${_entry}";                \
     5.7 -	    echo "source $${file}";                                             \
     5.8 +	    echo "source \"$${file}\"";                                         \
     5.9  	    echo "endif";                                                       \
    5.10  	  done;                                                                 \
    5.11  	  echo "";                                                              \
    5.12  	  for file in $(wildcard $(4)/*.in-common); do                          \
    5.13 -	    echo "source $${file}";                                             \
    5.14 +	    echo "source \"$${file}\"";                                         \
    5.15  	  done;                                                                 \
    5.16  	 ) >$(1)
    5.17  endef
    5.18 @@ -138,7 +138,7 @@
    5.19  	      echo "    $${dep_val#\# }";                                       \
    5.20  	    fi;                                                                 \
    5.21  	    echo "if $(3)_$${_entry}";                                          \
    5.22 -	    echo "source $${file}";                                             \
    5.23 +	    echo "source \"$${file}\"";                                         \
    5.24  	    echo "endif";                                                       \
    5.25  	    echo "";                                                            \
    5.26  	  done;                                                                 \
     6.1 --- a/config/debug.in	Mon Mar 29 20:15:25 2010 +0200
     6.2 +++ b/config/debug.in	Mon Mar 29 20:24:50 2010 +0200
     6.3 @@ -1,3 +1,3 @@
     6.4  menu "Debug facilities"
     6.5 -source config.gen/debug.in
     6.6 +source "config.gen/debug.in"
     6.7  endmenu
     7.1 --- a/config/kernel.in	Mon Mar 29 20:15:25 2010 +0200
     7.2 +++ b/config/kernel.in	Mon Mar 29 20:24:50 2010 +0200
     7.3 @@ -21,7 +21,7 @@
     7.4  config KERNEL_VERSION
     7.5      string
     7.6  
     7.7 -source config.gen/kernel.in
     7.8 +source "config.gen/kernel.in"
     7.9  
    7.10  comment "Common kernel options"
    7.11  
     8.1 --- a/config/libc.in	Mon Mar 29 20:15:25 2010 +0200
     8.2 +++ b/config/libc.in	Mon Mar 29 20:24:50 2010 +0200
     8.3 @@ -19,7 +19,7 @@
     8.4        So if you want to be able to re-build your toolchain later, you will
     8.5        have to save your C library tarball by yourself.
     8.6  
     8.7 -source config.gen/libc.in
     8.8 +source "config.gen/libc.in"
     8.9  
    8.10  config LIBC_SUPPORT_NPTL
    8.11      bool
     9.1 --- a/config/target.in	Mon Mar 29 20:15:25 2010 +0200
     9.2 +++ b/config/target.in	Mon Mar 29 20:24:50 2010 +0200
     9.3 @@ -39,7 +39,7 @@
     9.4  
     9.5  comment "General target options"
     9.6  
     9.7 -source config.gen/arch.in
     9.8 +source "config.gen/arch.in"
     9.9  
    9.10  #--------------------------------------
    9.11  config ARCH_SUPPORTS_BOTH_MMU