xtensa: define CONFIG_CPU_{BIG,LITTLE}_ENDIAN
authorMax Filippov <jcmvbkbc@gmail.com>
Mon, 29 Feb 2016 23:00:59 +0000 (02:00 +0300)
committerChris Zankel <chris@zankel.net>
Fri, 11 Mar 2016 08:53:31 +0000 (08:53 +0000)
commit4611bf7eb52599cb7549eed10f1ab609cbcdfa4b
treef3ef529fb4055d152dc99b02dd0e50a8951f5e8e
parenta67cc9aa2dfc6e66addf240bbd79e16e01565e81
xtensa: define CONFIG_CPU_{BIG,LITTLE}_ENDIAN

Query compiler for the CPU endianness and add corresponding definition
to KBUILD_CPPFLAGS. This allows using 'native-endian' property in DTS.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/Makefile