diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-05-30 14:19:21 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-06-01 15:08:09 +0200 |
commit | 1421dc6d48296a9e91702743b31458d337610aa6 (patch) | |
tree | 3341d1a4b9765ca7f523a52498b0563d14e758b0 /arch/powerpc/boot | |
parent | powerpc/kbuild: Remove CROSS32 defines from top level powerpc Makefile (diff) | |
download | linux-1421dc6d48296a9e91702743b31458d337610aa6.tar.xz linux-1421dc6d48296a9e91702743b31458d337610aa6.zip |
powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS
The powerpc toolchain can compile combinations of 32/64 bit and
big/little endian, so it's convenient to consider, e.g.,
`CC -m64 -mbig-endian`
To be the C compiler for the purpose of invoking it to build target
artifacts. So overriding the CC variable to include these flags works
for this purpose.
Unfortunately that is not compatible with the way the proposed new
Kconfig macro language will work.
After previous patches in this series, these flags can be carefully
passed in using flags instead.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/boot')
0 files changed, 0 insertions, 0 deletions