stubdom: fix make clean ; make
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 31 Jul 2008 08:49:28 +0000 (09:49 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 31 Jul 2008 08:49:28 +0000 (09:49 +0100)
make should not have to regenerate the libxc and ioemu directories
since that is part of the mk-headers target.  Use the subdirectory
clean targets instead to clean just the object files.

Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
stubdom/Makefile

index 9206f28adeeb6328c6c4fa8c5e76990f57ca2676..d6aa8c59400839c2e024c558bb6c9abc1a639c0b 100644 (file)
@@ -320,7 +320,8 @@ clean:
        $(MAKE) -C caml clean
        $(MAKE) -C c clean
        $(MAKE) -C grub clean
-       rm -fr libxc ioemu mini-os include
+       $(MAKE) -C libxc clean
+       $(MAKE) -C ioemu clean
 
 # clean the cross-compilation result
 .PHONY: crossclean
@@ -328,6 +329,7 @@ crossclean: clean
        rm -fr $(CROSS_ROOT)
        rm -fr newlib-build
        rm -fr zlib-$(ZLIB_VERSION) pciutils-$(LIBPCI_VERSION)
+       rm -fr libxc ioemu
        rm -f mk-headers
 
 # clean patched sources