From 67b28b1305da08edbb4d5f5f72ca3d0c44e8d446 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roger=20Pau=20Monn=C3=A9?= Date: Fri, 7 Sep 2018 09:29:20 +0200 Subject: [PATCH] pvshim: introduce a PV shim defconfig MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In order to build a tailored pvshim-only binary from Xen. Switch the PV shim build from the tools firmware into using the new defconfig. A diff of the .config generated for the pvshim firmware build before and after this change shows no differences. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson Acked-by: Wei Liu Acked-by: Jan Beulich --- tools/firmware/xen-dir/Makefile | 5 +- tools/firmware/xen-dir/shim.config | 84 --------------------------- xen/arch/x86/configs/pvshim_defconfig | 23 ++++++++ 3 files changed, 25 insertions(+), 87 deletions(-) delete mode 100644 tools/firmware/xen-dir/shim.config create mode 100644 xen/arch/x86/configs/pvshim_defconfig diff --git a/tools/firmware/xen-dir/Makefile b/tools/firmware/xen-dir/Makefile index 84648c3faf..83597f0017 100644 --- a/tools/firmware/xen-dir/Makefile +++ b/tools/firmware/xen-dir/Makefile @@ -41,9 +41,8 @@ linkfarm.stamp: $(DEP_DIRS) $(DEP_FILES) FORCE $(D): linkfarm.stamp $(MAKE) -C $(D)/xen distclean -$(D)/xen/.config: shim.config $(D) - cp $< $@ - $(MAKE) -C $(@D) olddefconfig XEN_CONFIG_EXPERT=y +$(D)/xen/.config: $(D) + $(MAKE) -C $(@D) KBUILD_DEFCONFIG=pvshim_defconfig XEN_CONFIG_EXPERT=y defconfig xen-shim: $(D)/xen/.config $(MAKE) -C $(