Skip to contentSkip to conversation

stubdom: remove mini-os when doing make distclean

PATCH In review Juergen Gross 2 participants 3 messages Jan 7, 2016 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 stubdom: remove mini-os when doing make distclean

make distclean does not remove mini-os. Do so when cleaning stubdom.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 8a9331f..a8e9523 100644
@@ -209,6 +209,7 @@ distclean-stubdom:
 ifeq (x86_64,$(XEN_TARGET_ARCH))
 	XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom distclean
 endif
+	rm -rf extras/mini-os extras/mini-os-remote
 
 .PHONY: distclean-docs
 distclean-docs:
Signature · 1 line
2.6.2
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Juergen Gross

make distclean does not remove mini-os. Do so when cleaning stubdom.

(this is consistent with what we do for e.g. the QEMU trees).

/me wonders what happens if you run make distclean in a tree unpacked from a tarball release.

Quoted 13 lines

---
 Makefile | 1 +

 1 file changed, 1 insertion(+)
Makefile +0 -0
index 8a9331f..a8e9523 100644
@@ -209,6 +209,7 @@ distclean-stubdom:
  ifeq (x86_64,$(XEN_TARGET_ARCH))

  XEN_TARGET_ARCH=x86_32 $(MAKE) -C stubdom distclean endif

Makefile +1 -0
+	rm -rf extras/mini-os extras/mini-os-remote
Quoted 3 lines


 .PHONY: distclean-docs
 distclean-docs:

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel