From 30d1b44890402e398362adc0afa2ab34d99142a8 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Wed, 4 Oct 2006 02:26:30 +0000 Subject: [PATCH] clean up more endianness checks SVN-Revision: 4905 --- libs/libexif/Makefile | 8 +------- libs/libnet-1.0.x/Makefile | 8 +------- libs/libnet-1.1.x/Makefile | 8 +------- multimedia/gphoto2/Makefile | 8 +------- 4 files changed, 4 insertions(+), 28 deletions(-) diff --git a/libs/libexif/Makefile b/libs/libexif/Makefile index 03b6c822ac..6d0c18199d 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 e4343c69b3..2161e5ef7a 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 0b19c1a4a5..5eb9904ac3 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 73ab2fd1be..aa3fb49ca7 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 -- 2.30.2