linux-stable/arch/arc/boot/dts
Masahiro Yamada 129ab0d2d9 kbuild: do not quote string values in include/config/auto.conf
The previous commit fixed up all shell scripts to not include
include/config/auto.conf.

Now that include/config/auto.conf is only included by Makefiles,
we can change it into a more Make-friendly form.

Previously, Kconfig output string values enclosed with double-quotes
(both in the .config and include/config/auto.conf):

    CONFIG_X="foo bar"

Unlike shell, Make handles double-quotes (and single-quotes as well)
verbatim. We must rip them off when used.

There are some patterns:

  [1] $(patsubst "%",%,$(CONFIG_X))
  [2] $(CONFIG_X:"%"=%)
  [3] $(subst ",,$(CONFIG_X))
  [4] $(shell echo $(CONFIG_X))

These are not only ugly, but also fragile.

[1] and [2] do not work if the value contains spaces, like
   CONFIG_X=" foo bar "

[3] does not work correctly if the value contains double-quotes like
   CONFIG_X="foo\"bar"

[4] seems to work better, but has a cost of forking a process.

Anyway, quoted strings were always PITA for our Makefiles.

This commit changes Kconfig to stop quoting in include/config/auto.conf.

These are the string type symbols referenced in Makefiles or scripts:

    ACPI_CUSTOM_DSDT_FILE
    ARC_BUILTIN_DTB_NAME
    ARC_TUNE_MCPU
    BUILTIN_DTB_SOURCE
    CC_IMPLICIT_FALLTHROUGH
    CC_VERSION_TEXT
    CFG80211_EXTRA_REGDB_KEYDIR
    EXTRA_FIRMWARE
    EXTRA_FIRMWARE_DIR
    EXTRA_TARGETS
    H8300_BUILTIN_DTB
    INITRAMFS_SOURCE
    LOCALVERSION
    MODULE_SIG_HASH
    MODULE_SIG_KEY
    NDS32_BUILTIN_DTB
    NIOS2_DTB_SOURCE
    OPENRISC_BUILTIN_DTB
    SOC_CANAAN_K210_DTB_SOURCE
    SYSTEM_BLACKLIST_HASH_LIST
    SYSTEM_REVOCATION_KEYS
    SYSTEM_TRUSTED_KEYS
    TARGET_CPU
    UNUSED_KSYMS_WHITELIST
    XILINX_MICROBLAZE0_FAMILY
    XILINX_MICROBLAZE0_HW_VER
    XTENSA_VARIANT_NAME

I checked them one by one, and fixed up the code where necessary.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2022-01-08 18:03:57 +09:00
..
Makefile kbuild: do not quote string values in include/config/auto.conf 2022-01-08 18:03:57 +09:00
abilis_tb10x.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
abilis_tb100.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
abilis_tb100_dvk.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
abilis_tb101.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
abilis_tb101_dvk.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 333 2019-06-05 17:37:06 +02:00
axc001.dtsi ARC: [dts] fix the errors detected by dtbs_check 2020-10-05 21:02:29 -07:00
axc003.dtsi ARC: [dts] fix the errors detected by dtbs_check 2020-10-05 21:02:29 -07:00
axc003_idu.dtsi ARC: [dts] fix the errors detected by dtbs_check 2020-10-05 21:02:29 -07:00
axs10x_mb.dtsi ARC: [plat-axs10x]: PGU: remove unused encoder-slave property 2020-03-16 10:23:25 -07:00
axs101.dts ARC: [plat-axs10x]: remove hardcoded video mode from bootargs 2019-11-20 09:13:42 -08:00
axs103.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
axs103_idu.dts ARC: [plat-axs10x]: remove hardcoded video mode from bootargs 2019-11-20 09:13:42 -08:00
haps_hs.dts ARC: haps: bump memory to 1 GB 2021-03-12 07:22:23 -08:00
haps_hs_idu.dts ARC: HAPS: use same UART configuration everywhere 2019-10-28 12:12:31 -07:00
hsdk.dts ARC: [plat-hsdk]: Switch ethernet phy-mode to rgmii-id 2020-09-01 11:59:04 -07:00
nsim_700.dts ARC: nSIM_700: remove unused network options 2019-10-28 12:12:31 -07:00
nsimosci.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
nsimosci_hs.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
nsimosci_hs_idu.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
skeleton.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
skeleton_hs.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
skeleton_hs_idu.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vdk_axc003.dtsi ARC: [dts] fix the errors detected by dtbs_check 2020-10-05 21:02:29 -07:00
vdk_axc003_idu.dtsi ARC: [dts] fix the errors detected by dtbs_check 2020-10-05 21:02:29 -07:00
vdk_axs10x_mb.dtsi treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vdk_hs38.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
vdk_hs38_smp.dts treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00