linux/arch/parisc
Luc Van Oostenryck 145167650b kbuild: add endianness flag to CHEKCFLAGS
The kernel depends on macros like __BYTE_ORDER__,
__BIG_ENDIAN__ or __LITTLE_ENDIAN__.

OTOH, sparse doesn't know about the endianness of the kernel and
by default uses the same as the machine on which sparse was built.

Ensure that sparse can predefine the macros corresponding to
how the kernel was configured by adding -m{big,little}-endian
to CHECKFLAGS in the main Makefile (and so for all archs).
Also, remove the equivalent done in arch specific Makefiles.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2018-05-29 22:05:08 +09:00
..
boot Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk 2018-02-01 13:36:15 -08:00
configs
include Merge branch 'parisc-4.17-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2018-04-12 17:07:04 -07:00
kernel parisc: Fix section mismatches 2018-05-02 21:47:35 +02:00
lib parisc: remove duplicate includes 2017-12-17 21:06:25 +01:00
math-emu parisc: Silence uninitialized variable warning in dbl_to_sgl_fcnvff() 2018-03-27 18:52:21 +02:00
mm parisc: Fix section mismatches 2018-05-02 21:47:35 +02:00
oprofile
defpalo.conf
install.sh
Kconfig parisc: Switch to generic COMPAT_BINFMT_ELF 2018-04-11 11:40:35 +02:00
Kconfig.debug
Makefile kbuild: add endianness flag to CHEKCFLAGS 2018-05-29 22:05:08 +09:00
nm