]> xenbits.xensource.com Git - xen.git/commit
xen/Kconfig: livepatch-build-tools requires debug information
authorRoger Pau Monné <roger.pau@citrix.com>
Mon, 2 Dec 2024 14:22:05 +0000 (15:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 2 Dec 2024 14:22:05 +0000 (15:22 +0100)
commit126b0a6e537ce1d486a29e35cfeec1f222a74d11
tree8d9650271cd1d102e7635fc24d9cbd7696445ea9
parent4191619e0893eabd77d979789a0f99f135bbc470
xen/Kconfig: livepatch-build-tools requires debug information

The tools infrastructure used to build livepatches for Xen
(livepatch-build-tools) consumes some DWARF debug information present in
xen-syms to generate a livepatch (see livepatch-build script usage of readelf
-wi).

The current Kconfig defaults however will enable LIVEPATCH without DEBUG_INFO
on release builds, thus providing a default Kconfig selection that's not
suitable for livepatch-build-tools even when LIVEPATCH support is enabled,
because it's missing the DWARF debug section.

Fix by defaulting DEBUG_INFO to enabled when LIVEPATCH is.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/Kconfig.debug