clean up endianness selection
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Oct 2006 19:11:01 +0000 (19:11 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 3 Oct 2006 19:11:01 +0000 (19:11 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4901 3c298f89-4303-0410-b956-a3cf2f4a3e73

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