]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
Makefile: Strip debug options from QEMU-traditional.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 10 Feb 2015 16:18:04 +0000 (11:18 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 10 Feb 2015 16:36:18 +0000 (11:36 -0500)
It (in Xen 4.6) ends up being an 20MB file. But since there
is no development being done on it - we might as well
strip out the debug pieces out of it to save space on the ramdisk.

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

index da6461377a426503bbf7f17322ff6da6680016f7..ec11dbdd868d72abe03d246fb120fdeb3d5358a7 100644 (file)
@@ -205,6 +205,7 @@ root_image-userspace-install: $(USERSPACE_INSTALL) add-libs add-bins add-debug-b
 ifeq ($(NO_LDD_CHECK),)
        find userspace/ -type f | xargs ./ldd-check.pl
 endif
+       find userspace/ -name qemu-dm -type f -executable | xargs strip -d
 
 .PHONY:        root_image-clean
 root_image-clean: