Patch "Kbuild: always define endianess in kconfig.h" has been added to the 4.14-stable tree