build: save generated xen .config
PATCH 1/1 build: save generated xen .config
Since we now support changing Xen options with Kconfig, we should save the configuration that was used to build up Xen. This will save it in /usr/lib/debug alongside xen-syms and call it xen-$(FULLVERSION).config
Suggested-by Ian Campbell <[email protected]>
Requested-by Jan Beulich <[email protected]> # the directory
Signed-off-by Doug Goldstein <[email protected]>
--- xen/Makefile | 1 + 1 file changed, 1 insertion(+)
xen/Makefile +1 -0
@@ -58,6 +58,7 @@ _install: $(TARGET)$(CONFIG_XEN_INSTALL_SUFFIX) ln -f -s $(T)-$(XEN_FULLVERSION)$(Z) $(D)$(BOOT_DIR)/$(T)$(Z) [ -d "$(D)$(DEBUG_DIR)" ] || $(INSTALL_DIR) $(D)$(DEBUG_DIR) $(INSTALL_DATA) $(TARGET)-syms $(D)$(DEBUG_DIR)/$(T)-syms-$(XEN_FULLVERSION) + $(INSTALL_DATA) $(KCONFIG_CONFIG) $(D)$(DEBUG_DIR)/$(T)-$(XEN_FULLVERSION).config if [ -r $(TARGET).efi -a -n '$(EFI_DIR)' ]; then \ [ -d $(D)$(EFI_DIR) ] || $(INSTALL_DIR) $(D)$(EFI_DIR); \ $(INSTALL_DATA) $(TARGET).efi $(D)$(EFI_DIR)/$(T)-$(XEN_FULLVERSION).efi; \
Signature · 1 line
2.4.10