clean up more endianness checks
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4905 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
0120f4e2b9
commit
ab15a3dc24
@ -32,13 +32,7 @@ define Package/libexif
|
||||
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
|
||||
|
||||
|
@ -31,13 +31,7 @@ define Package/libnet0
|
||||
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
|
||||
|
||||
|
@ -31,13 +31,7 @@ define Package/libnet1
|
||||
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
|
||||
|
||||
|
@ -32,13 +32,7 @@ define Package/gphoto2
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user