clean up endianness selection
authorFelix Fietkau <nbd@openwrt.org>
Tue, 3 Oct 2006 19:11:01 +0000 (19:11 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 3 Oct 2006 19:11:01 +0000 (19:11 +0000)
SVN-Revision: 4901

libs/libgphoto2/Makefile

index a416eb8cfd5dfe896252f7fc117b4fc0601f037d..227f0e688309c19fee9e24aeaf34f62ef282cadc 100644 (file)
@@ -43,13 +43,7 @@ define Package/libgphoto2-drivers
 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