|
@@ -874,6 +874,9 @@ ifeq ($(CONFIG_STRIP_ASM_SYMS),y)
|
|
LDFLAGS_vmlinux += $(call ld-option, -X,)
|
|
LDFLAGS_vmlinux += $(call ld-option, -X,)
|
|
endif
|
|
endif
|
|
|
|
|
|
|
|
+# insure the checker run with the right endianness
|
|
|
|
+CHECKFLAGS += $(if $(CONFIG_CPU_BIG_ENDIAN),-mbig-endian,-mlittle-endian)
|
|
|
|
+
|
|
# Default kernel image to build when no specific target is given.
|
|
# Default kernel image to build when no specific target is given.
|
|
# KBUILD_IMAGE may be overruled on the command line or
|
|
# KBUILD_IMAGE may be overruled on the command line or
|
|
# set in the environment
|
|
# set in the environment
|