This allows Makefile.clean to recurse into livepatch without help.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
ifneq ($(XEN_TARGET_ARCH),x86_32)
# Xen 32-bit x86 hypervisor no longer supported, so has no test livepatches
-SUBDIRS += livepatch
+subdir-y += livepatch
endif
install build subtree-force-update uninstall: %:
- set -e; for s in $(SUBDIRS); do \
+ set -e; for s in $(subdir-y); do \
$(MAKE) -f $(BASEDIR)/Rules.mk -C $$s $*; \
done
-
-clean::
- set -e; for s in $(SUBDIRS); do \
- $(MAKE) -f $(BASEDIR)/Rules.mk -C $$s $@; \
- done