On 12/12/2019 18:27, Anthony PERARD wrote: > 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.
Content like that should not be checked in to being with, and I think it is entirely reasonable to require flex/bison in a build environment. Indeed, README lists them as mandatory requirements. > Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> Acked-by: Andrew Cooper <andrew.coop...@citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel