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 a416eb8..227f0e6 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