aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-04-12 17:30:08 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-04-12 17:30:08 +0100
commite6984111fd761971c8575e2ece7c0fc2c8313e68 (patch)
tree3c103d0550f5a428c1de9df5c8a8b2d098a7cebf /xen/Rules.mk
parenta124755be68cc68c893648dd1ffc24bf122153d4 (diff)
downloadxen-e6984111fd761971c8575e2ece7c0fc2c8313e68.tar.gz
xen-e6984111fd761971c8575e2ece7c0fc2c8313e68.tar.bz2
xen-e6984111fd761971c8575e2ece7c0fc2c8313e68.zip
xen: 'make clean' really cleans unconfigured subdirs.
Previously we skipped those listed in variable $(subdir-), only including those in the more explicit $(subdir-n). Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 10847182ae..53bfab459d 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -82,7 +82,7 @@ LDFLAGS += $(LDFLAGS_DIRECT)
include Makefile
# Ensure each subdirectory has exactly one trailing slash.
-subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n)))
+subdir-n := $(patsubst %,%/,$(patsubst %/,%,$(subdir-n) $(subdir-)))
subdir-y := $(patsubst %,%/,$(patsubst %/,%,$(subdir-y)))
# Add explicitly declared subdirectories to the object list.