Re: [RFC PATCH 1/2] powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS

2018-05-07 Thread Nicholas Piggin
On Mon, 7 May 2018 14:25:12 +0900 Masahiro Yamada wrote: > Hi. > > > 2018-04-30 10:23 GMT+09:00 Nicholas Piggin : > > The powerpc toolchain can compile combinations of 32/64 bit and > > big/little endian, so it's convenient to consider, e.g., >

Re: [RFC PATCH 1/2] powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS

2018-05-06 Thread Masahiro Yamada
Hi. 2018-04-30 10:23 GMT+09:00 Nicholas Piggin : > 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

[RFC PATCH 1/2] powerpc/kbuild: Use flags variables rather than overriding LD/CC/AS

2018-04-29 Thread Nicholas Piggin
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. Rather than override, use kbuild defined variables to pass these flags