[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [xen staging] tools/debugger: Allow make to recurse into debugger/
commit 2400a9a365c5619dbf557afccdd45d2a2e4e3ade Author: Anthony PERARD <anthony.perard@xxxxxxxxxx> AuthorDate: Mon Dec 6 17:02:06 2021 +0000 Commit: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CommitDate: Thu Dec 16 20:27:12 2021 +0000 tools/debugger: Allow make to recurse into debugger/ Avoid the need for explicite rules to recurse into debugger/* dirs by adding a Makefile in debugger/. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Acked-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- tools/Makefile | 27 +-------------------------- tools/debugger/Makefile | 8 ++++++++ 2 files changed, 9 insertions(+), 26 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 8936b754c8..79b4c7e3de 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -32,8 +32,7 @@ SUBDIRS-$(CONFIG_GOLANG) += golang SUBDIRS-y += xl SUBDIRS-y += helpers SUBDIRS-$(CONFIG_X86) += xenpaging -SUBDIRS-$(CONFIG_X86) += debugger/gdbsx -SUBDIRS-$(CONFIG_X86) += debugger/kdd +SUBDIRS-$(CONFIG_X86) += debugger SUBDIRS-$(CONFIG_TESTS) += tests SUBDIRS-y += python @@ -272,30 +271,6 @@ subdir-clean-qemu-xen-dir: subdir-uninstall-qemu-xen-dir: ; -subdir-clean-debugger/gdbsx subdir-distclean-debugger/gdbsx: .phony - $(MAKE) -C debugger/gdbsx clean - -subdir-install-debugger/gdbsx: .phony - $(MAKE) -C debugger/gdbsx install - -subdir-all-debugger/gdbsx: .phony - $(MAKE) -C debugger/gdbsx all - -subdir-uninstall-debugger/gdbsx: .phony - $(MAKE) -C debugger/gdbsx uninstall - -subdir-clean-debugger/kdd subdir-distclean-debugger/kdd: .phony - $(MAKE) -C debugger/kdd clean - -subdir-install-debugger/kdd: .phony - $(MAKE) -C debugger/kdd install - -subdir-uninstall-debugger/kdd: .phony - $(MAKE) -C debugger/kdd uninstall - -subdir-all-debugger/kdd: .phony - $(MAKE) -C debugger/kdd all - subtree-force-update: ifeq ($(CONFIG_QEMU_XEN),y) $(MAKE) qemu-xen-dir-force-update diff --git a/tools/debugger/Makefile b/tools/debugger/Makefile new file mode 100644 index 0000000000..51efd3680b --- /dev/null +++ b/tools/debugger/Makefile @@ -0,0 +1,8 @@ +XEN_ROOT=$(CURDIR)/../.. +include $(XEN_ROOT)/tools/Rules.mk + +SUBDIRS-y := gdbsx +SUBDIRS-y += kdd + +.PHONY: all clean install distclean uninstall +all clean install distclean uninstall: %: subdirs-% -- generated by git-patchbot for /home/xen/git/xen.git#staging
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |