1
0
Fork 0
alistair23-linux/arch/powerpc/tools
Nicholas Piggin 1421dc6d48 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>
2018-06-01 23:08:09 +10:00
..
gcc-check-mprofile-kernel.sh powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS 2018-06-01 23:08:09 +10:00
head_check.sh powerpc/64: Tool to check head sections location sanity 2017-05-30 14:59:51 +10:00
relocs_check.sh
unrel_branch_check.sh powerpc/64s: Tool to flag direct branches from unrelocated interrupt vectors 2017-05-30 14:59:51 +10:00