diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-18 23:45:39 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-19 10:56:09 +0100 |
commit | b3b5a00ae178875c40949d183c3bf9b4438b0497 (patch) | |
tree | 02371b340f6c25073c39e6c9ff738d6306bde0f5 /scripts/lib/ptxd_make_world_common.sh | |
parent | dea28657e854226aec178cc4de18cc4bc13e0457 (diff) | |
download | ptxdist-b3b5a00ae178875c40949d183c3bf9b4438b0497.tar.gz ptxdist-b3b5a00ae178875c40949d183c3bf9b4438b0497.tar.xz |
[ptxd_make_world_common] assign default values for prepare_env
This patch add assignment of default values for the environemnt of host
and target packages.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index f563ec24e..580077253 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -247,10 +247,12 @@ ptxd_make_world_init() { case "${pkg_conf_tool}" in autoconf|cmake|qmake) local conf_opt_ptr="ptx_conf_opt_${pkg_conf_tool}_${pkg_type}" + local conf_env_ptr="ptx_conf_env_${pkg_type}" pkg_conf_opt="${pkg_conf_opt:-${!conf_opt_ptr}}" + pkg_conf_env="${pkg_conf_env:-${!conf_env_ptr}}" - unset conf_opt_ptr + unset conf_opt_ptr conf_env_ptr ;; *) ;; esac |