From patchwork Fri Feb 19 15:58:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Jones X-Patchwork-Id: 585260 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 4EE8D140556 for ; Sat, 20 Feb 2016 02:58:44 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427953AbcBSP6l (ORCPT ); Fri, 19 Feb 2016 10:58:41 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33956 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423265AbcBSP6l (ORCPT ); Fri, 19 Feb 2016 10:58:41 -0500 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 2C07658; Fri, 19 Feb 2016 15:58:41 +0000 (UTC) Received: from hawk.localdomain.com (dhcp-1-251.brq.redhat.com [10.34.1.251]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u1JFwWkB002316; Fri, 19 Feb 2016 10:58:37 -0500 From: Andrew Jones 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, rkrcmar@redhat.com Subject: [kvm-unit-tests PATCH v6 02/18] Makefile: cscope: also look in arch shared asm Date: Fri, 19 Feb 2016 16:58:07 +0100 Message-Id: <1455897503-11835-3-git-send-email-drjones@redhat.com> In-Reply-To: <1455897503-11835-1-git-send-email-drjones@redhat.com> References: <1455897503-11835-1-git-send-email-drjones@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Sender: kvm-ppc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm-ppc@vger.kernel.org Signed-off-by: Andrew Jones Reviewed-by: David Gibson --- 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