fix build with CONFIG_HYPFS_CONFIG enabled
authorJuergen Gross <jgross@suse.com>
Wed, 3 Jun 2020 11:28:07 +0000 (13:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 3 Jun 2020 11:28:07 +0000 (13:28 +0200)
commit1c5db7cc7a7080056d2876cd00344eb8b94bb7d2
tree0bc793f5c8f7743e3c4d79691ad902164b32af49
parent99a76a88d5e7f4693bb6b286e366006e1da1c954
fix build with CONFIG_HYPFS_CONFIG enabled

Commit 58263ed7713e ("xen: add /buildinfo/config entry to hypervisor
filesystem") added a dependency to .config, but the hypervisor's build
config could be have another name via setting KCONFIG_CONFIG.

Fix that by using $(KCONFIG_CONFIG) instead. Additionally reference
the config file via $(XEN_ROOT) instead of a relative path.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/common/Makefile