summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_common.sh
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-11-25 14:36:54 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-12-17 13:59:44 +0100
commita3657ad06699a47ff58b85c9349fa6855db55ba8 (patch)
tree652d31be420ea09a50eb7067eb41b663911121d2 /scripts/lib/ptxd_make_world_common.sh
parent3ae7837192b1442e260de2b7d63bee5e1f134e61 (diff)
downloadptxdist-a3657ad06699a47ff58b85c9349fa6855db55ba8.tar.gz
ptxdist-a3657ad06699a47ff58b85c9349fa6855db55ba8.tar.xz
add generic kconfig based prepare stage
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 f9e86f2f3..637c71c62 100644
--- a/scripts/lib/ptxd_make_world_common.sh
+++ b/scripts/lib/ptxd_make_world_common.sh
@@ -281,10 +281,13 @@ ptxd_make_world_init() {
if [ $(ls "${pkg_conf_dir}/"*.pro 2>/dev/null | wc -l) -eq 1 ]; then
pkg_conf_tool=${pkg_conf_tool}qmake
fi
+ if [ -n "${pkg_config}" ]; then
+ pkg_conf_tool=${pkg_conf_tool}kconfig
+ fi
fi
case "${pkg_conf_tool}" in
- autoconf|cmake|qmake)
+ autoconf|cmake|qmake|kconfig)
local conf_opt_ptr="ptx_conf_opt_${pkg_conf_tool}_${pkg_type}${conf_opt_ext}"
local conf_env_ptr="ptx_conf_env_${pkg_type}"