Luc Van Oostenryck 85fa2cc511 c6x: pass endianness info to sparse
c6x depends on the macro '_BIG_ENDIAN' being defined or not
to correctly select or define endian-specific macros, structures
or pieces of code.

This macro is predefined by the compiler but sparse knows nothing
about it and thus may pre-process files differently from what
gcc would.

Fix this by passing '-D_BIG_ENDIAN' when compiling a big-endian
kernel, like GCC would have done.

To: Mark Salter <msalter@redhat.com>
To: Aurelien Jacquiot <a-jacquiot@ti.com>
CC: linux-c6x-dev@linux-c6x.org
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Mark Salter <msalter@redhat.com>
2018-04-10 09:58:58 -04:00
..
2018-03-01 14:32:23 -08:00
2018-03-28 13:52:13 -10:00
2018-03-28 13:52:13 -10:00
2018-04-10 09:58:58 -04:00
2018-03-22 00:06:30 +00:00
2018-02-11 13:52:32 -08:00
2018-03-30 07:24:14 -10:00
2018-03-09 16:59:19 -08:00