From patchwork Sat Nov 26 03:26:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Piggin X-Patchwork-Id: 699460 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tQdkt3kDZz9tlB for ; Sat, 26 Nov 2016 14:31:02 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fhV5ay+z"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3tQdkt2f9LzDw44 for ; Sat, 26 Nov 2016 14:31:02 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fhV5ay+z"; dkim-atps=neutral X-Original-To: linuxppc-dev@lists.ozlabs.org Delivered-To: linuxppc-dev@lists.ozlabs.org Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3tQddf5ny9zDvfq for ; Sat, 26 Nov 2016 14:26:30 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="fhV5ay+z"; dkim-atps=neutral Received: by mail-pg0-x243.google.com with SMTP id e9so6987828pgc.1 for ; Fri, 25 Nov 2016 19:26:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ukouB90NehEYKY5dYqwkyv27rz7p9hnYud2e7VdSm0w=; b=fhV5ay+zWgsG/L4yf4yH3TuGIF75319c1/tLvF2Zy7fQDhaodNZh5ntl3gTnMc6po7 7LwjgFjikHtFxJXOC/5McGfhvVQegUEo4qxcxd4+GIPVr/2LOdSgLft/XXHxvHG5o9yx EDmUsoRkhtAEATnqoJOCe6cPflv5wXBSUrLzDKqt0hz8EsMPR41wc/fR4l4kJvdHV8ET kXmy4D6PBDW7Seqve8LcijOh0Qy7LylwJWS29+Xw688MoOTdHgf9P1rhcjV95Xm8QKdM f9gl2fb/+kYIYh3VXLEctB/hh23OSVUXVcGQ6jFVTOCLRevA6O9UE8LkKyOJCi8uq+tS Gz7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ukouB90NehEYKY5dYqwkyv27rz7p9hnYud2e7VdSm0w=; b=jioLV8A6suCR7C8brI4Qcf4D0w8vpZrYNMCSXt8mTCkSyyFc51ifhWu55oh3wj4hOJ 7QwmHa2Nas1zeNYVpH294ZAvbSZC1rPWSEp78k2K4+Iiw2bpkd8CdwlHOc9TW9QbEnSE IwTSZBBRDN6HEXAdV7jWCwhzO45GKtlIWMTuROlzqSXgM8XmqxATX2KeewDFnw98E82F YcLRFTdPhtA6ejUmPWYyGLbLbpYT902EFI9CiOceblDlRfAE5WOcP415X4nxI0a5kaZH LAJY7+IVKS3Yxly7HWWq4MPViPJDtiXK3FDetfUZqng8/jGE/zmee3W/XQwR5bPAdjFo k9Xg== X-Gm-Message-State: AKaTC00+NhUUjlxrTxec7JHntnRyD1ee24AGAa+EC/5U4kBEssIoASmif2mcVw7kOfY8PA== X-Received: by 10.84.195.1 with SMTP id i1mr24401140pld.84.1480130789242; Fri, 25 Nov 2016 19:26:29 -0800 (PST) Received: from roar.local0.net (27-33-21-189.tpgi.com.au. [27.33.21.189]) by smtp.gmail.com with ESMTPSA id e11sm52802937pgp.10.2016.11.25.19.26.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Nov 2016 19:26:28 -0800 (PST) From: Nicholas Piggin To: Michael Ellerman Subject: [PATCH 2/4] powerpc: add arch/powerpc/tools directory Date: Sat, 26 Nov 2016 14:26:10 +1100 Message-Id: <20161126032612.13559-3-npiggin@gmail.com> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20161126032612.13559-1-npiggin@gmail.com> References: <20161126032612.13559-1-npiggin@gmail.com> X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linuxppc-dev@lists.ozlabs.org, Nicholas Piggin Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" Move a couple of existing scripts under there. Remove scripts directory: a script is a tool, a tool is not a script. Signed-off-by: Nick Piggin --- arch/powerpc/Makefile | 2 +- arch/powerpc/Makefile.postlink | 2 +- arch/powerpc/{scripts => tools}/gcc-check-mprofile-kernel.sh | 0 arch/powerpc/{ => tools}/relocs_check.sh | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename arch/powerpc/{scripts => tools}/gcc-check-mprofile-kernel.sh (100%) rename arch/powerpc/{ => tools}/relocs_check.sh (100%) diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile index 868b9ec..6575b7e 100644 --- a/arch/powerpc/Makefile +++ b/arch/powerpc/Makefile @@ -133,7 +133,7 @@ CFLAGS-$(CONFIG_GENERIC_CPU) += -mcpu=powerpc64 endif ifdef CONFIG_MPROFILE_KERNEL - ifeq ($(shell $(srctree)/arch/powerpc/scripts/gcc-check-mprofile-kernel.sh $(CC) -I$(srctree)/include -D__KERNEL__),OK) + ifeq ($(shell $(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -I$(srctree)/include -D__KERNEL__),OK) CC_FLAGS_FTRACE := -pg -mprofile-kernel KBUILD_CPPFLAGS += -DCC_USING_MPROFILE_KERNEL else diff --git a/arch/powerpc/Makefile.postlink b/arch/powerpc/Makefile.postlink index 8c0170e..3c22d64 100644 --- a/arch/powerpc/Makefile.postlink +++ b/arch/powerpc/Makefile.postlink @@ -11,7 +11,7 @@ include include/config/auto.conf include scripts/Kbuild.include quiet_cmd_relocs_check = CHKREL $@ - cmd_relocs_check = $(CONFIG_SHELL) $(srctree)/arch/powerpc/relocs_check.sh "$(OBJDUMP)" "$@" + cmd_relocs_check = $(CONFIG_SHELL) $(srctree)/arch/powerpc/tools/relocs_check.sh "$(OBJDUMP)" "$@" # `@true` prevents complaint when there is nothing to be done diff --git a/arch/powerpc/scripts/gcc-check-mprofile-kernel.sh b/arch/powerpc/tools/gcc-check-mprofile-kernel.sh similarity index 100% rename from arch/powerpc/scripts/gcc-check-mprofile-kernel.sh rename to arch/powerpc/tools/gcc-check-mprofile-kernel.sh diff --git a/arch/powerpc/relocs_check.sh b/arch/powerpc/tools/relocs_check.sh similarity index 100% rename from arch/powerpc/relocs_check.sh rename to arch/powerpc/tools/relocs_check.sh