From f7d3398006e894a5e69af7856ed6ef6269c58189 Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Tue, 10 Feb 2015 11:18:04 -0500 Subject: [PATCH] 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 --- root_image/Makefile | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.5