summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_common.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-04-11 10:31:58 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-04-11 14:39:29 +0200
commit3773950546f48aa98f357e43cc45a3d0a318bd40 (patch)
tree9bd863ada6934bddd0cbc8e17693700a881b0a72 /scripts/lib/ptxd_make_world_common.sh
parent8891bc373e6764f560d236db62c05c25916f1144 (diff)
downloadptxdist-3773950546f48aa98f357e43cc45a3d0a318bd40.tar.gz
ptxdist-3773950546f48aa98f357e43cc45a3d0a318bd40.tar.xz
ptxd_make_world_prepare: support <PKG>_CONF_TOOL := perl
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r--scripts/lib/ptxd_make_world_common.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh
index f8eca1a99..4a7704d19 100644
--- a/scripts/lib/ptxd_make_world_common.sh
+++ b/scripts/lib/ptxd_make_world_common.sh
@@ -284,10 +284,13 @@ ptxd_make_world_init() {
if [ -n "${pkg_config}" ]; then
pkg_conf_tool=${pkg_conf_tool}kconfig
fi
+ if [ -e "${pkg_conf_dir}/Makefile.PL" ]; then
+ pkg_conf_tool=${pkg_conf_tool}perl
+ fi
fi
case "${pkg_conf_tool}" in
- autoconf|cmake|qmake|kconfig)
+ autoconf|cmake|qmake|kconfig|perl)
local conf_opt_ptr="ptx_conf_opt_${pkg_conf_tool}_${pkg_type}${conf_opt_ext}"
local conf_env_ptr="ptx_conf_env_${pkg_type}"