From: Konrad Rzeszutek Wilk Date: Tue, 10 Feb 2015 16:18:04 +0000 (-0500) Subject: Makefile: Strip debug options from QEMU-traditional. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=f7d3398006e894a5e69af7856ed6ef6269c58189;p=xentesttools%2Fbootstrap.git Makefile: Strip debug options from QEMU-traditional. 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 --- diff --git a/root_image/Makefile b/root_image/Makefile index da64613..ec11dbd 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -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: