summaryrefslogtreecommitdiff
path: root/package/perl/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/perl/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/perl/Makefile')
-rw-r--r--package/perl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/perl/Makefile b/package/perl/Makefile
index 6d9249e79..f57a058ff 100644
--- a/package/perl/Makefile
+++ b/package/perl/Makefile
@@ -58,7 +58,7 @@ do-configure:
-e 's!%%CPPFLAGS%%!$(TARGET_CPPFLAGS)!g' \
-e 's!%%LIBDIRS%%!$(STAGING_TARGET_DIR)/lib $(STAGING_TARGET_DIR)/usr/lib!g' \
-e 's!%%INCDIRS%%!$(STAGING_TARGET_DIR)/include $(STAGING_TARGET_DIR)/usr/include!g' \
- ./files/config.sh.$(CPU_ARCH).$(ADK_TARGET_LIBC) > ${WRKBUILD}/config.sh
+ ./files/config.sh.$(ADK_TARGET_CPU_ARCH).$(ADK_TARGET_LIBC) > ${WRKBUILD}/config.sh
$(SED) "s#@@STAGING_HOST_DIR@@#${STAGING_HOST_DIR}/usr/bin#" ${WRKBUILD}/Makefile.SH
$(SED) "s#@@LIB@@##" ${WRKBUILD}/Makefile.SH
(cd ${WRKBUILD}; ./Configure -S)