diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-07-22 14:34:16 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-08-02 07:48:15 +0200 |
commit | 3ab6288560023dc9cbb2a79ad4f04201c6902216 (patch) | |
tree | fc7f9b08d17e4dfffd3a643ca41f5c1fc27a5c19 | |
parent | c899bb3462e60c3956104e5655dbf5a0b27deb7d (diff) | |
download | ptxdist-3ab6288560023dc9cbb2a79ad4f04201c6902216.tar.gz ptxdist-3ab6288560023dc9cbb2a79ad4f04201c6902216.tar.xz |
[ptxd_make_world_common] add extract dir definitions
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r-- | rules/post/ptxd_make_world_common.make | 4 | ||||
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/post/ptxd_make_world_common.make b/rules/post/ptxd_make_world_common.make index 274559a44..67e7f5542 100644 --- a/rules/post/ptxd_make_world_common.make +++ b/rules/post/ptxd_make_world_common.make @@ -17,6 +17,10 @@ ptx/env = \ ptx_nfsroot="$(call ptx/escape,$(ROOTDIR))" \ ptx_nfsroot_dbg="$(call ptx/escape,$(ROOTDIR_DEBUG))" \ \ + ptx_extract_dir_target="$(call ptx/escape,$(BUILDDIR))" \ + ptx_extract_dir_host="$(call ptx/escape,$(HOST_BUILDDIR))" \ + ptx_extract_dir_cross="$(call ptx/escape,$(CROSS_BUILDDIR))" \ + \ ptx_state_dir="$(call ptx/escape,$(STATEDIR))" \ ptx_lib_dir="$(call ptx/escape,$(PTXDIST_LIB_DIR))" \ ptx_pkg_dir="$(call ptx/escape,$(PKGDIR))" \ diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index 79cc08f13..470b12422 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -239,6 +239,13 @@ ptxd_make_world_init() { unset path_ptr # + # extract dir + # + local extract_ptr="ptx_extract_dir_${pkg_type}" + pkg_extract_dir="${!extract_ptr}" + unset extract_ptr + + # # conf dir # pkg_conf_dir="${pkg_dir}${pkg_subdir:+/}${pkg_subdir}" |