diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-08-04 21:51:07 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2009-08-07 11:59:08 +0200 |
commit | 44edf28016f96c51ae56110f031271c7f5f76892 (patch) | |
tree | c3e0f3c87aaf43e942e42a518cf8c8817981d8a6 /scripts/lib/ptxd_make_world_common.sh | |
parent | b0c1eb9b1d528036e39bda1271bf5c3bf96e1ae8 (diff) | |
download | ptxdist-44edf28016f96c51ae56110f031271c7f5f76892.tar.gz ptxdist-44edf28016f96c51ae56110f031271c7f5f76892.tar.xz |
[ptxd_make_world] put pkg_config vars environemnt of every stage
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 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index 29ccced85..508202950 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -101,6 +101,12 @@ ptxd_make_world_init_compat() { # install_opt pkg_install_opt="${pkg_deprecated_makevars}${pkg_deprecated_makevars:+${pkg_deprecated_install_opt:+ }}${pkg_deprecated_install_opt}" + + # pkg_env + case "${pkg_type}" in + target) pkg_env="${PTXDIST_CROSS_ENV_PKG_CONFIG}" ;; + host|cross) pkg_env="PKG_CONFIG_LIBDIR='${PTXDIST_SYSROOT_HOST}/lib/pkgconfig'" ;; + esac } export -f ptxd_make_world_init_compat @@ -152,7 +158,6 @@ ptxd_make_world_init() { pkg_stage="${pkg_stage%%.*}" ptxd_make_world_init_compat || return - # # conf dir # |