fix bind compile error
[openwrt/svn-archive/archive.git] / multimedia / gphoto2 / Makefile
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