diff --git a/libs/libgphoto2/Makefile b/libs/libgphoto2/Makefile index a416eb8cf..227f0e688 100644 --- a/libs/libgphoto2/Makefile +++ b/libs/libgphoto2/Makefile @@ -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