]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
powerpc: Add arch/powerpc/tools directory
authorNicholas Piggin <npiggin@gmail.com>
Sat, 26 Nov 2016 03:26:10 +0000 (14:26 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 28 Apr 2017 11:26:53 +0000 (21:26 +1000)
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: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/Makefile
arch/powerpc/Makefile.postlink
arch/powerpc/tools/gcc-check-mprofile-kernel.sh [moved from arch/powerpc/scripts/gcc-check-mprofile-kernel.sh with 100% similarity]
arch/powerpc/tools/relocs_check.sh [moved from arch/powerpc/relocs_check.sh with 100% similarity]

index c09600bb2fe24766f6b9251d7f6ff74330e6635d..3e0f0e1fadef87698f5d8c7fead35410b957d1f1 100644 (file)
@@ -136,7 +136,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
index 8c0170e450698f93f7f4b12b316463633daaed11..3c22d64b2de974a1ee8e8894ae3fd40c1a41551d 100644 (file)
@@ -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