clean up more endianness checks
authorFelix Fietkau <nbd@openwrt.org>
Wed, 4 Oct 2006 02:26:30 +0000 (02:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 4 Oct 2006 02:26:30 +0000 (02:26 +0000)
SVN-Revision: 4905

libs/libexif/Makefile
libs/libnet-1.0.x/Makefile
libs/libnet-1.1.x/Makefile
multimedia/gphoto2/Makefile

index 03b6c82..6d0c181 100644 (file)
@@ -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
 
index e4343c6..2161e5e 100644 (file)
@@ -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
 
index 0b19c1a..5eb9904 100644 (file)
@@ -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
 
index 73ab2fd..aa3fb49 100644 (file)
@@ -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