xen: Update Kconfig to Linux v5.4
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 17 Sep 2019 13:13:50 +0000 (14:13 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 30 Jan 2020 11:54:33 +0000 (11:54 +0000)
commitf80fe2b34f08ba3b08d3ae3f0517380c613ea6ea
tree4b8c4d0b57b0874933e32b5a34a9bf8f6bb57fe0
parent9b71d6a759a6835c7723afa3d79e1e7f10da4396
xen: Update Kconfig to Linux v5.4

This patch updates Kconfig to a more recent version of Kconfig, found
in Linux v5.4.0, 219d54332a09 ("Linux 5.4").

With the updated version of Kconfig, other changes are necessary to
avoid breaking the build.

Kconfig files:
- fix Kconfig files that where using option env=*:
  Since Linux commit 104daea149c4 ("kconfig: reference environment
  variables directly and remove 'option env='"), we can access the
  environment directly via $() and "option env=" as been removed.
- CONFIG_EXPERT='y' will now appear in .config file if
  XEN_CONFIG_EXPERT=y in the environment. The alternative is to change
  "EXPERT" to "$(XEN_CONFIG_EXPERT)" in all Kconfig files.

Makefile:
- silentoldconfig target as been removed from Kconfig. To update
  include/generated/autoconf.h, we need to use syncconfig target
  instead.

Makefile.kconfig:
- Import newer needed code from Linux's Makefile.lib and
  Kbuild.include and Makefile.build.
- Set Q to empty, Xen build system doesn't silence commands. Having Q
  empty mean we can import stuff from Linux without having to remove the
  leading $(Q) from build commands. And quiet='' means commands will be
  echoed.
- Add $(PHONY) to .PHONY. Like it is intended by Kbuild.

Makefile.host is also updated and copied from Linux.

Dependency change:
- Now depends on flex/bison, maybe we could _shipped those files like
  before. Linux doesn't do that anymore.

The .gitignore in kconfig/ has more entries, compared to upstream, for
file generated by Makefile.host.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
115 files changed:
docs/misc/kconfig-language.rst [new file with mode: 0644]
docs/misc/kconfig-language.txt [deleted file]
docs/misc/kconfig-macro-language.rst [new file with mode: 0644]
docs/misc/kconfig.rst [new file with mode: 0644]
docs/misc/kconfig.txt [deleted file]
xen/Kconfig
xen/Makefile
xen/arch/arm/Kconfig
xen/common/Kconfig
xen/tools/kconfig/.gitignore
xen/tools/kconfig/Makefile
xen/tools/kconfig/Makefile.host
xen/tools/kconfig/Makefile.kconfig
xen/tools/kconfig/conf.c
xen/tools/kconfig/confdata.c
xen/tools/kconfig/expr.c
xen/tools/kconfig/expr.h
xen/tools/kconfig/gconf-cfg.sh [new file with mode: 0755]
xen/tools/kconfig/gconf.c
xen/tools/kconfig/images.c
xen/tools/kconfig/images.h [new file with mode: 0644]
xen/tools/kconfig/lexer.l [new file with mode: 0644]
xen/tools/kconfig/list.h
xen/tools/kconfig/lkc.h
xen/tools/kconfig/lkc_proto.h
xen/tools/kconfig/lxdialog/.gitignore [deleted file]
xen/tools/kconfig/lxdialog/BIG.FAT.WARNING
xen/tools/kconfig/lxdialog/check-lxdialog.sh [deleted file]
xen/tools/kconfig/lxdialog/checklist.c
xen/tools/kconfig/lxdialog/dialog.h
xen/tools/kconfig/lxdialog/inputbox.c
xen/tools/kconfig/lxdialog/menubox.c
xen/tools/kconfig/lxdialog/textbox.c
xen/tools/kconfig/lxdialog/util.c
xen/tools/kconfig/lxdialog/yesno.c
xen/tools/kconfig/mconf-cfg.sh [new file with mode: 0755]
xen/tools/kconfig/mconf.c
xen/tools/kconfig/menu.c
xen/tools/kconfig/merge_config.sh
xen/tools/kconfig/nconf-cfg.sh [new file with mode: 0755]
xen/tools/kconfig/nconf.c
xen/tools/kconfig/nconf.gui.c
xen/tools/kconfig/nconf.h
xen/tools/kconfig/parser.y [new file with mode: 0644]
xen/tools/kconfig/preprocess.c [new file with mode: 0644]
xen/tools/kconfig/qconf-cfg.sh [new file with mode: 0755]
xen/tools/kconfig/qconf.cc
xen/tools/kconfig/qconf.h
xen/tools/kconfig/streamline_config.pl
xen/tools/kconfig/symbol.c
xen/tools/kconfig/tests/auto_submenu/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/auto_submenu/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/auto_submenu/expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/choice/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/choice/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/choice/alldef_expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice/allmod_expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice/allno_expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice/allyes_expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice/oldask0_expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/choice/oldask1_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice/oldask1_expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/choice_value_with_m_dep/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/choice_value_with_m_dep/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/choice_value_with_m_dep/config [new file with mode: 0644]
xen/tools/kconfig/tests/choice_value_with_m_dep/expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/choice_value_with_m_dep/expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/conftest.py [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_dep/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_dep/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_dep/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/Kconfig.inc1 [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/Kconfig.inc2 [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/Kconfig.inc3 [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/err_recursive_inc/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/inter_choice/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/inter_choice/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/inter_choice/defconfig [new file with mode: 0644]
xen/tools/kconfig/tests/inter_choice/expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/new_choice_with_dep/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/new_choice_with_dep/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/new_choice_with_dep/config [new file with mode: 0644]
xen/tools/kconfig/tests/new_choice_with_dep/expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/no_write_if_dep_unmet/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/no_write_if_dep_unmet/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/no_write_if_dep_unmet/config [new file with mode: 0644]
xen/tools/kconfig/tests/no_write_if_dep_unmet/expected_config [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/builtin_func/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/builtin_func/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/builtin_func/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/builtin_func/expected_stdout [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/circular_expansion/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/circular_expansion/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/circular_expansion/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/escape/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/escape/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/escape/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/variable/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/variable/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/preprocess/variable/expected_stderr [new file with mode: 0644]
xen/tools/kconfig/tests/pytest.ini [new file with mode: 0644]
xen/tools/kconfig/tests/rand_nested_choice/Kconfig [new file with mode: 0644]
xen/tools/kconfig/tests/rand_nested_choice/__init__.py [new file with mode: 0644]
xen/tools/kconfig/tests/rand_nested_choice/expected_stdout0 [new file with mode: 0644]
xen/tools/kconfig/tests/rand_nested_choice/expected_stdout1 [new file with mode: 0644]
xen/tools/kconfig/tests/rand_nested_choice/expected_stdout2 [new file with mode: 0644]
xen/tools/kconfig/util.c
xen/tools/kconfig/zconf.gperf [deleted file]
xen/tools/kconfig/zconf.hash.c_shipped [deleted file]
xen/tools/kconfig/zconf.l [deleted file]
xen/tools/kconfig/zconf.lex.c_shipped [deleted file]
xen/tools/kconfig/zconf.tab.c_shipped [deleted file]
xen/tools/kconfig/zconf.y [deleted file]