mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
tools: Update distclean target to remove auto-gen'ed tarballs.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
e3c0ad6c82
commit
bfb32dde4f
4 files changed
+22
-3
No files matched your search
+8
-2
@@ -62,8 +62,11 @@ install: subdirs-install
|
||||
$(INSTALL_DIR) $(DESTDIR)/var/lib/xen
|
||||
$(INSTALL_DIR) $(DESTDIR)/var/lock/subsys
|
||||
|
||||
.PHONY: clean distclean
|
||||
clean distclean: subdirs-clean
|
||||
.PHONY: clean
|
||||
clean: subdirs-clean
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: subdirs-distclean
|
||||
|
||||
ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
|
||||
IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \
|
||||
@@ -121,3 +124,6 @@ subdir-clean-debugger/gdbsx:
|
||||
|
||||
subdir-install-debugger/gdbsx:
|
||||
$(MAKE) -C debugger/gdbsx install
|
||||
|
||||
subdir-distclean-firmware: .phony
|
||||
$(MAKE) -C firmware distclean
|
||||
+4
-1
@@ -67,10 +67,13 @@ INSTALL_PYTHON_PROG = \
|
||||
%.o: %.cc
|
||||
$(CC) $(CPPFLAGS) $(CXXFLAGS) -c -o $@ $<
|
||||
|
||||
subdirs-all subdirs-clean subdirs-install: .phony
|
||||
subdirs-all subdirs-clean subdirs-install subdirs-distclean: .phony
|
||||
@set -e; for subdir in $(SUBDIRS) $(SUBDIRS-y); do \
|
||||
$(MAKE) subdir-$(patsubst subdirs-%,%,$@)-$$subdir; \
|
||||
done
|
||||
|
||||
subdir-all-% subdir-clean-% subdir-install-%: .phony
|
||||
$(MAKE) -C $* $(patsubst subdir-%-$*,%,$@)
|
||||
|
||||
subdir-distclean-%: .phony
|
||||
$(MAKE) -C $* clean
|
||||
@@ -30,3 +30,9 @@ install: all
|
||||
|
||||
.PHONY: clean
|
||||
clean: subdirs-clean
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: subdirs-distclean
|
||||
|
||||
subdir-distclean-etherboot: .phony
|
||||
$(MAKE) -C etherboot distclean
|
||||
@@ -49,3 +49,7 @@ $D/src/bin/NIC: $D/src/arch/i386/Makefile
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf $D $D.git *~ eb-roms.h
|
||||
|
||||
.PHONY: distclean
|
||||
distclean: clean
|
||||
rm -rf $T
|
||||