summaryrefslogtreecommitdiffstats
path: root/scripts/lib/ptxd_make_world_prepare.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_prepare.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_prepare.sh')
-rw-r--r--scripts/lib/ptxd_make_world_prepare.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_prepare.sh b/scripts/lib/ptxd_make_world_prepare.sh
index 623287824..a1085240e 100644
--- a/scripts/lib/ptxd_make_world_prepare.sh
+++ b/scripts/lib/ptxd_make_world_prepare.sh
@@ -84,6 +84,19 @@ export -f ptxd_make_world_prepare_autoconf
#
+# prepare for kconfig based pkgs
+#
+ptxd_make_world_prepare_kconfig() {
+ if [ -n "${PTXDIST_QUIET}" ]; then
+ ptxd_make_kconfig silentoldconfig
+ else
+ ptxd_make_kconfig oldconfig
+ fi
+}
+export -f ptxd_make_world_prepare_kconfig
+
+
+#
# generic prepare
#
ptxd_make_world_prepare() {
@@ -102,7 +115,7 @@ ptxd_make_world_prepare() {
fi
case "${pkg_conf_tool}" in
- autoconf|cmake|qmake)
+ autoconf|cmake|qmake|kconfig)
cd -- "${pkg_build_dir}" &&
ptxd_make_world_prepare_"${pkg_conf_tool}" ;;
"NO") echo "prepare stage disabled." ;;