From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: [kvm-unit-tests PATCH v5 02/18] Makefile: cscope: also look in arch shared asm Date: Wed, 17 Feb 2016 19:40:43 +0100 Message-ID: <1455734459-31902-3-git-send-email-drjones@redhat.com> References: <1455734459-31902-1-git-send-email-drjones@redhat.com> Cc: thuth@redhat.com, dgibson@redhat.com, david@gibson.dropbear.id.au, agraf@suse.de, lvivier@redhat.com, pbonzini@redhat.com, rkrcmar@redhat.com To: kvm@vger.kernel.org, kvm-ppc@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51091 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161351AbcBQSlL (ORCPT ); Wed, 17 Feb 2016 13:41:11 -0500 In-Reply-To: <1455734459-31902-1-git-send-email-drjones@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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