]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
Makefile: Also run 'defconfig' on seabios and clean it up when doing 'clean'
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 10 Feb 2015 15:57:34 +0000 (10:57 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 10 Feb 2015 16:36:18 +0000 (11:36 -0500)
.. as we had forgotten to do it in the past.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Makefile

index 2763e8d68dba6374db56a961ba8c728870cbeca1..470c51d15a92ab82902bf7a1c9c4846dab548e9e 100644 (file)
--- 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