]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
makefile: strip qemu if it is on the userspace/ directory
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 13 Jun 2018 23:51:31 +0000 (19:51 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 13 Jun 2018 23:51:48 +0000 (19:51 -0400)
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/Makefile

index ac8b7d8e9dfb940cd7dfa175085106a9911c32ee..edf30c4ab9aa9959c3a2042ec4a7d4180af13808 100644 (file)
@@ -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