From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Date: Mon, 15 Feb 2016 13:49:11 +0000 Subject: [kvm-unit-tests PATCH v4 02/17] Makefile: cscope: also look in arch shared asm Message-Id: <1455544166-19766-3-git-send-email-drjones@redhat.com> List-Id: References: <1455544166-19766-1-git-send-email-drjones@redhat.com> In-Reply-To: <1455544166-19766-1-git-send-email-drjones@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Cc: thuth@redhat.com, dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, lvivier@redhat.com, pbonzini@redhat.com Signed-off-by: Andrew Jones --- Not exactly related to the powerpc initial drop, but ppc64 will need it too. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0be2b6670daf6..fe5cc620d473b 100644 --- a/Makefile +++ b/Makefile @@ -85,9 +85,11 @@ distclean: clean libfdt_clean $(RM) lib/asm config.mak $(TEST_DIR)-run test.log msr.out cscope.* $(RM) -r tests -cscope: common_dirs = lib lib/libfdt lib/linux lib/asm lib/asm-generic +cscope: cscope_dirs = lib lib/libfdt lib/linux +cscope: cscope_dirs += lib/$(ARCH)/asm lib/$(TEST_DIR)/asm lib/asm-generic +cscope: cscope_dirs += $(TEST_DIR) lib/$(TEST_DIR) lib/$(ARCH) cscope: $(RM) ./cscope.* - find -L $(TEST_DIR) lib/$(TEST_DIR) lib/$(ARCH) $(common_dirs) -maxdepth 1 \ + find -L $(cscope_dirs) -maxdepth 1 \ -name '*.[chsS]' -print | sed 's,^\./,,' | sort -u > ./cscope.files cscope -bk -- 2.4.3