endef
BIG_ENDIAN:=no
-ifeq ($(ARCH),mips)
-BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),armeb)
-BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),powerpc)
+ifeq ($(CONFIG_BIG_ENDIAN),y)
BIG_ENDIAN:=yes
endif
endef
ENDIANESS:=lil
-ifeq ($(ARCH),mips)
- ENDIANESS:=big
-endif
-ifeq ($(ARCH),armeb)
- ENDIANESS:=big
-endif
-ifeq ($(ARCH),powerpc)
+ifeq ($(CONFIG_BIG_ENDIAN),y)
ENDIANESS:=big
endif
endef
ENDIANESS:=lil
-ifeq ($(ARCH),mips)
- ENDIANESS:=big
-endif
-ifeq ($(ARCH),armeb)
- ENDIANESS:=big
-endif
-ifeq ($(ARCH),powerpc)
+ifeq ($(CONFIG_BIG_ENDIAN),y)
ENDIANESS:=big
endif
endef
BIG_ENDIAN:=no
-ifeq ($(ARCH),mips)
- BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),armeb)
- BIG_ENDIAN:=yes
-endif
-ifeq ($(ARCH),powerpc)
+ifeq ($(CONFIG_BIG_ENDIAN),y)
BIG_ENDIAN:=yes
endif