diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-30 22:19:22 +1000 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-06-11 09:16:29 +0900 |
commit | abba759796f9b73eb24df9b734dd063839fc62e0 (patch) | |
tree | df8e791111e511831654730fd68481d66dd61486 /arch/powerpc/tools | |
parent | 8373b7d9d174d577d93c6d4de46ae207f0b8d55b (diff) | |
download | linux-stable-abba759796f9b73eb24df9b734dd063839fc62e0.tar.gz linux-stable-abba759796f9b73eb24df9b734dd063839fc62e0.tar.bz2 linux-stable-abba759796f9b73eb24df9b734dd063839fc62e0.zip |
powerpc/kbuild: move -mprofile-kernel check to Kconfig
This eliminates the workaround that requires disabling
-mprofile-kernel by default in Kconfig.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/powerpc/tools')
-rwxr-xr-x | arch/powerpc/tools/gcc-check-mprofile-kernel.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/tools/gcc-check-mprofile-kernel.sh b/arch/powerpc/tools/gcc-check-mprofile-kernel.sh index a7dd0e5d9f98..137f3376ac2b 100755 --- a/arch/powerpc/tools/gcc-check-mprofile-kernel.sh +++ b/arch/powerpc/tools/gcc-check-mprofile-kernel.sh @@ -24,5 +24,4 @@ echo -e "#include <linux/compiler.h>\nnotrace int func() { return 0; }" | \ 2> /dev/null | grep -q "_mcount" && \ exit 1 -echo "OK" exit 0 |