build: hook kconfig into xen build system
authorAnthony PERARD <anthony.perard@citrix.com>
Fri, 25 Feb 2022 10:03:35 +0000 (11:03 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 25 Feb 2022 10:03:35 +0000 (11:03 +0100)
commit317c98cb91e43cb921ca53ed2059aada07728d7e
treeb71e91d374958db19df7dcf271d8f993123293b2
parent04787e095a3dbca026c88b3ff786ada59b688f33
build: hook kconfig into xen build system

Now that xen's build system is very close to Linux's ones, we can hook
"Makefile.host" into Xen's build system, and we can build Kconfig with
that.

"tools/kconfig/Makefile" now needs a workaround to not rebuild
"$(XEN_ROOT)/.config", as `make` tries the rules "%.config" which
fails with:
    tools/kconfig/Makefile:95: *** No configuration exists for this target on this architecture.  Stop.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/Makefile
xen/Rules.mk
xen/scripts/Kbuild.include
xen/scripts/Makefile.clean
xen/scripts/Makefile.host [new file with mode: 0644]
xen/tools/kconfig/Makefile
xen/tools/kconfig/Makefile.host [deleted file]
xen/tools/kconfig/Makefile.kconfig [deleted file]