Skip to contentSkip to conversation

stubdom: fix make clean ; make

PATCH New Samuel Thibault 1 participant 1 message Jul 30, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stubdom: fix make clean ; make

stubdom: fix make clean ; make

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.

stubdom/Makefile +3 -1
diff -r e355f9dce939 stubdom/Makefile
@@ -321,7 +321,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
@@ -329,6 +330,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