From: Konrad Rzeszutek Wilk Date: Wed, 13 Jun 2018 23:51:31 +0000 (-0400) Subject: makefile: strip qemu if it is on the userspace/ directory X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=4d32c8f0a7f60a1f4e7cb270ba8314fbaa790175;p=xentesttools%2Fbootstrap.git makefile: strip qemu if it is on the userspace/ directory Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/root_image/Makefile b/root_image/Makefile index ac8b7d8..edf30c4 100644 --- a/root_image/Makefile +++ b/root_image/Makefile @@ -204,7 +204,9 @@ 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 + if [ `find userspace/ -name qemu-dm -type f -executable` ]; then \ + find userspace/ -name qemu-dm -type f -executable | xargs strip -d;\ + fi #find userspace/ -name qemu-system-i386 -type f -executable | xargs strip -d .PHONY: root_image-clean