From: Konrad Rzeszutek Wilk Date: Tue, 10 Feb 2015 15:57:34 +0000 (-0500) Subject: Makefile: Also run 'defconfig' on seabios and clean it up when doing 'clean' X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3284b40546806105eca857336633d131f72d5c63;p=xentesttools%2Fbootstrap.git Makefile: Also run 'defconfig' on seabios and clean it up when doing 'clean' .. as we had forgotten to do it in the past. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/Makefile b/Makefile index 2763e8d..470c51d 100644 --- a/Makefile +++ b/Makefile @@ -176,7 +176,9 @@ IOEMU_DIR = ioemu-remote .PHONY: xen-tools xen-tools: # $(MAKE) -C xen dist-misc -j$$(($(NCPUS) * 2)) - + if [ -e xen/tools/firmware/seabios-dir ]; then \ + $(MAKE) -C xen/tools/firmware/seabios-dir defconfig; \ + fi $(MAKE) -C xen IOEMU_CONFIGURE_CROSS="--disable-curses --disable-slirp --disable-sdl --disable-kvm --disable-vnc-tls" tools -j$$(($(NCPUS) * 2)) ifeq ($(NOXEN),1) @@ -192,7 +194,8 @@ xen-clean: rm -Rf xen/tools/iommu-remote; \ $(MAKE) -C xen clean; \ $(MAKE) -C mrproper; \ - if [ -e xen/tools/config.h ]; then rm xen/tools/config.h; fi \ + if [ -e xen/tools/config.h ]; then rm xen/tools/config.h; fi; \ + if [ -e xen/tools/firmware/seabios-dir/out/autoconf.h ]; then rm xen/tools/firmware/seabios-dir/out/autoconf.h; fi; \ fi xen-distclean: xen-clean