Re: [PATCH] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-13 Thread Masahiro Yamada
On Sat, Mar 13, 2021 at 9:03 PM Masahiro Yamada wrote: > > On Sat, Mar 13, 2021 at 5:57 PM Max Filippov wrote: > > > > On Fri, Mar 12, 2021 at 7:14 AM Masahiro Yamada > > wrote: > > > > > > Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place > > > for CONFIG options. > > > >

Re: [PATCH] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-13 Thread Masahiro Yamada
On Sat, Mar 13, 2021 at 5:57 PM Max Filippov wrote: > > On Fri, Mar 12, 2021 at 7:14 AM Masahiro Yamada wrote: > > > > Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place > > for CONFIG options. > > > > I slightly simplified the test code. You can use the -P option to suppress

Re: [PATCH] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-13 Thread Max Filippov
On Fri, Mar 12, 2021 at 7:14 AM Masahiro Yamada wrote: > > Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place > for CONFIG options. > > I slightly simplified the test code. You can use the -P option to suppress > linemarker generation. The grep command is unneeded. > > $ echo

[PATCH] xtensa: move CONFIG_CPU_*_ENDIAN defines to Kconfig

2021-03-12 Thread Masahiro Yamada
Move the definition of CONFIG_CPU_*_ENDIAN to Kconfig, the best place for CONFIG options. I slightly simplified the test code. You can use the -P option to suppress linemarker generation. The grep command is unneeded. $ echo __XTENSA_EB__ | xtensa-linux-gcc -E - # 1 "" # 1 "" # 1 "" #