From 48758993b09a96f83c2bd190a5586421c90428e7 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 2 Jun 2014 11:11:56 +0200 Subject: refactor CPU_ARCH/ARCH variables After Joerg asked me about the difference between ADK_TARGET_ARCH and ADK_TARGET_CPU_ARCH I recognized many duplication of variables for this information. These patch fixes this up. Use make cleandir && make menuconfig && make --- package/libmad/Makefile | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'package/libmad') diff --git a/package/libmad/Makefile b/package/libmad/Makefile index b12245425..62afb0b24 100644 --- a/package/libmad/Makefile +++ b/package/libmad/Makefile @@ -21,31 +21,31 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,LIBMAD,libmad,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) FPM:=default -ifeq (${CPU_ARCH},i486) +ifeq (${ADK_TARGET_CPU_ARCH},i486) FPM:=intel endif -ifeq (${CPU_ARCH},i586) +ifeq (${ADK_TARGET_CPU_ARCH},i586) FPM:=intel endif -ifeq (${CPU_ARCH},i686) +ifeq (${ADK_TARGET_CPU_ARCH},i686) FPM:=intel endif -ifeq (${CPU_ARCH},arm) +ifeq (${ADK_TARGET_CPU_ARCH},arm) FPM:=arm endif -ifeq (${CPU_ARCH},mipsel) +ifeq (${ADK_TARGET_CPU_ARCH},mipsel) FPM:=mips endif -ifeq (${CPU_ARCH},mips) +ifeq (${ADK_TARGET_CPU_ARCH},mips) FPM:=mips endif -ifeq (${CPU_ARCH},ppc) +ifeq (${ADK_TARGET_CPU_ARCH},ppc) FPM:=ppc endif -ifeq (${CPU_ARCH},sparc) +ifeq (${ADK_TARGET_CPU_ARCH},sparc) FPM:=sparc endif -ifeq (${CPU_ARCH},x86_64) +ifeq (${ADK_TARGET_CPU_ARCH},x86_64) FPM:=64bit endif -- cgit v1.2.3