mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-04-13 22:23:04 +00:00
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).
This commit is contained in:
parent
712f0c9919
commit
d276ce2a4f
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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; \
|
||||
|
@ -1,3 +1,3 @@
|
||||
menu "Debug facilities"
|
||||
source config.gen/debug.in
|
||||
source "config.gen/debug.in"
|
||||
endmenu
|
||||
|
@ -21,7 +21,7 @@ config KERNEL
|
||||
config KERNEL_VERSION
|
||||
string
|
||||
|
||||
source config.gen/kernel.in
|
||||
source "config.gen/kernel.in"
|
||||
|
||||
comment "Common kernel options"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user