diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-03-14 18:22:02 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-04-01 10:23:12 +0200 |
commit | 37c894e492f9d43ee3241cf403309cc0fcd4c4ff (patch) | |
tree | 64232e0c9bde57b4732f33831e105617fa7a5316 /scripts | |
parent | 6a75bef9d7cb0099dd726f70a2ef12c6a258794d (diff) | |
download | ptxdist-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.sh | 16 |
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 |