Skip to content
Commit bfb41e46 authored by Jiri Slaby's avatar Jiri Slaby Committed by Masahiro Yamada
Browse files

kbuild: dummy-tools: make MPROFILE_KERNEL checks work on BE



Commit 2eab791f ("kbuild: dummy-tools: support MPROFILE_KERNEL
checks for ppc") added support for ppc64le's checks for
-mprofile-kernel.

Now, commit aec0ba74 ("powerpc/64: Use -mprofile-kernel for big
endian ELFv2 kernels") added support for -mprofile-kernel even on
big-endian ppc.

So lift the check in gcc-check-mprofile-kernel.sh to support big-endian too.

Fixes: aec0ba74 ("powerpc/64: Use -mprofile-kernel for big endian ELFv2 kernels")
Signed-off-by: default avatarJiri Slaby <jslaby@suse.cz>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a3c6bfba
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment