diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-20 11:40:44 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-01-20 11:44:48 +0100 |
commit | 20021d3e2383043e40421fd31aee3ad4f70a37f7 (patch) | |
tree | ca2ac30a1fdc5a38006a0d3a78f06ffb3caaf449 /scripts/lib/ptxd_make_world_common.sh | |
parent | aadbef8d728414b6c7a23b040b38ee04229fa3d3 (diff) | |
download | ptxdist-20021d3e2383043e40421fd31aee3ad4f70a37f7.tar.gz ptxdist-20021d3e2383043e40421fd31aee3ad4f70a37f7.tar.xz |
[ptxd_make_world_common] set default PATH
this patch sets the default path. Actually it only sets it for target
packages to include SYSROOT_CROSS.
The SYSROOT_HOST is always in path. and cross packages need cleanups
anyway.
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, 7 insertions, 0 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index 580077253..23ed57800 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -222,6 +222,13 @@ ptxd_make_world_init() { ptxd_make_world_init_compat || return # + # path + # + local path_ptr="ptx_path_${pkg_type}" + pkg_path="${pkg_path:-PATH=${!path_ptr}}" + unset path_ptr + + # # conf dir # pkg_conf_dir="${pkg_dir}${pkg_subdir:+/}${pkg_subdir}" |