diff --git a/libs/libexif/Makefile b/libs/libexif/Makefile index 03b6c822a..6d0c18199 100644 --- a/libs/libexif/Makefile +++ b/libs/libexif/Makefile @@ -32,13 +32,7 @@ define Package/libexif 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 diff --git a/libs/libnet-1.0.x/Makefile b/libs/libnet-1.0.x/Makefile index e4343c69b..2161e5ef7 100644 --- a/libs/libnet-1.0.x/Makefile +++ b/libs/libnet-1.0.x/Makefile @@ -31,13 +31,7 @@ define Package/libnet0 endef ENDIANESS:=lil -ifeq ($(ARCH),mips) - ENDIANESS:=big -endif -ifeq ($(ARCH),armeb) - ENDIANESS:=big -endif -ifeq ($(ARCH),powerpc) +ifeq ($(CONFIG_BIG_ENDIAN),y) ENDIANESS:=big endif diff --git a/libs/libnet-1.1.x/Makefile b/libs/libnet-1.1.x/Makefile index 0b19c1a4a..5eb9904ac 100644 --- a/libs/libnet-1.1.x/Makefile +++ b/libs/libnet-1.1.x/Makefile @@ -31,13 +31,7 @@ define Package/libnet1 endef ENDIANESS:=lil -ifeq ($(ARCH),mips) - ENDIANESS:=big -endif -ifeq ($(ARCH),armeb) - ENDIANESS:=big -endif -ifeq ($(ARCH),powerpc) +ifeq ($(CONFIG_BIG_ENDIAN),y) ENDIANESS:=big endif diff --git a/multimedia/gphoto2/Makefile b/multimedia/gphoto2/Makefile index 73ab2fd1b..aa3fb49ca 100644 --- a/multimedia/gphoto2/Makefile +++ b/multimedia/gphoto2/Makefile @@ -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