summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-03-14 18:22:02 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-04-01 10:23:12 +0200
commit37c894e492f9d43ee3241cf403309cc0fcd4c4ff (patch)
tree64232e0c9bde57b4732f33831e105617fa7a5316 /scripts
parent6a75bef9d7cb0099dd726f70a2ef12c6a258794d (diff)
downloadptxdist-37c894e492f9d43ee3241cf403309cc0fcd4c4ff.tar.gz
ptxdist-37c894e492f9d43ee3241cf403309cc0fcd4c4ff.tar.xz
[ptxd_make_00-init] define PTXDIST_PATH_PATCHES
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/ptxd_make_00-init.sh16
1 files changed, 15 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_00-init.sh b/scripts/lib/ptxd_make_00-init.sh
index eb563a74e..90bce713a 100644
--- a/scripts/lib/ptxd_make_00-init.sh
+++ b/scripts/lib/ptxd_make_00-init.sh
@@ -113,7 +113,7 @@ ptxd_init_get_sysroot_production() {
# PTXDIST_PATH_SYSROOT_PREFIX prefixes (/, /usr) of additional sysroots (without toolchain)
# PTXDIST_PATH_SYSROOT_PREFIX_ALL prefixes (/, /usr) of all sysroots (including toolchain)
#
-ptxd_init_ptxdist_path() {
+ptxd_init_ptxdist_path_sysroot() {
local sysroot="$(ptxd_get_ptxconf PTXCONF_SYSROOT_TARGET)"
local sysroot_prefix="${sysroot}:${sysroot}/usr"
@@ -138,6 +138,20 @@ ptxd_init_ptxdist_path() {
}
+#
+#
+#
+ptxd_init_ptxdist_path() {
+ PTXDIST_PATH="${PTXDIST_WORKSPACE}:${PTXDIST_PLATFORMCONFIGDIR}:${PTXDIST_TOPDIR}:"
+ export PTXDIST_PATH
+
+ PTXDIST_PATH_PATCHES="${PTXDIST_PATH//://patches:}"
+ export PTXDIST_PATH_PATCHES
+
+ ptxd_init_ptxdist_path_sysroot
+}
+
+
#
# setup compiler and pkgconfig environment