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 03b6c822aca614ed5a60d1f8a56d9113ca278121..6d0c18199d4b10419ccc1b5d74b1c2e0b3797ef6 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 e4343c69b307a8181958ba8dafd0f7e4f76e6e6a..2161e5ef7a3333fc045faef73b6e0fd6c4d3b4e3 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 0b19c1a4a53a64b341309c13ee1bec14bff84193..5eb9904ac3d334c9ee47830b76447175b407e242 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 73ab2fd1be280d8444a51c0dfd5a5aae32f06da9..aa3fb49ca7b116a296686b56a2850946dcd16380 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