[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[xen master] build: use subdir-y in test/Makefile



commit d4f269e6f4fd08956d082aecd111f220662f18b1
Author:     Anthony PERARD <anthony.perard@xxxxxxxxxx>
AuthorDate: Tue Sep 7 09:30:42 2021 +0200
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Tue Sep 7 09:30:42 2021 +0200

    build: use subdir-y in test/Makefile
    
    This allows Makefile.clean to recurse into livepatch without help.
    
    Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
    Acked-by: Jan Beulich <jbeulich@xxxxxxxx>
---
 xen/test/Makefile | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/xen/test/Makefile b/xen/test/Makefile
index aaa4996643..41e4d7bdb7 100644
--- a/xen/test/Makefile
+++ b/xen/test/Makefile
@@ -4,15 +4,10 @@ tests all: build
 
 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
--
generated by git-patchbot for /home/xen/git/xen.git#master



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.