]> xenbits.xensource.com Git - people/liuw/stubdom.git/commitdiff
Makefile: delete ioemu directory in clean target
authorWei Liu <wei.liu2@citrix.com>
Thu, 10 Mar 2016 13:28:03 +0000 (13:28 +0000)
committerWei Liu <wei.liu2@citrix.com>
Thu, 10 Mar 2016 16:07:09 +0000 (16:07 +0000)
After we mandate an external QEMU tree there will only be object files
in ioemu directory. Just delete the whole directory in make clean.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Makefile

index 84c50234465f747acbd1c9e87978356157dee255..004d09620aec90b30509d33f94336d91af9e4233 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -569,7 +569,7 @@ clean:
        [ ! -e libs-$(XEN_TARGET_ARCH)/call/Makefile ] || $(MAKE) DESTDIR= -C libs-$(XEN_TARGET_ARCH)/call clean
        [ ! -e libs-$(XEN_TARGET_ARCH)/foreignmemory/Makefile ] || $(MAKE) DESTDIR= -C libs-$(XEN_TARGET_ARCH)/foreignmemory clean
        [ ! -e libxc-$(XEN_TARGET_ARCH)/Makefile ] || $(MAKE) DESTDIR= -C libxc-$(XEN_TARGET_ARCH) clean
-       -[ ! -d ioemu ] || $(MAKE) DESTDIR= -C ioemu clean
+       rm -rf ioemu
        -[ ! -d xenstore ] || $(MAKE) DESTDIR= -C xenstore clean
 
 # clean the cross-compilation result