summaryrefslogtreecommitdiff
path: root/package/libmad/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-02 11:11:56 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-02 17:13:35 +0200
commit48758993b09a96f83c2bd190a5586421c90428e7 (patch)
tree28e4554cb26cc1294d06d6241b255d9e20190deb /package/libmad/Makefile
parent8a2c6310e1e2764865ef684217130ed713d654e7 (diff)
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
Diffstat (limited to 'package/libmad/Makefile')
-rw-r--r--package/libmad/Makefile18
1 files changed, 9 insertions, 9 deletions
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