summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-10-07 20:00:24 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 11:47:03 +0000
commitb2f1de35b4619f898b2b7116ee66c8a24f942924 (patch)
tree8912c99e4201fc3e585f9d3acb97e1c98d364a8b /meta/recipes-core
parent0fe6e2dc7ba02fe03fe2c8434a469580ead6ebcd (diff)
downloadpoky-b2f1de35b4619f898b2b7116ee66c8a24f942924.tar.gz
glibc-initial.inc: use relative path to run configure
Avoid potential build path in output files. [YOCTO #8894] (From OE-Core rev: 54931e7d7e4c4bd547398542bb20b70506242561) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/glibc/glibc-initial.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-core/glibc/glibc-initial.inc b/meta/recipes-core/glibc/glibc-initial.inc
index 8e81f097aa..7214f71404 100644
--- a/meta/recipes-core/glibc/glibc-initial.inc
+++ b/meta/recipes-core/glibc/glibc-initial.inc
@@ -11,7 +11,8 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
11do_configure () { 11do_configure () {
12 (cd ${S} && gnu-configize) || die "failure in running gnu-configize" 12 (cd ${S} && gnu-configize) || die "failure in running gnu-configize"
13 find ${S} -name "configure" | xargs touch 13 find ${S} -name "configure" | xargs touch
14 ${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \ 14 cfgscript=`python -c "import os; print os.path.relpath('${S}', '.')"`/configure
15 $cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \
15 --prefix=/usr \ 16 --prefix=/usr \
16 --without-cvs --disable-sanity-checks \ 17 --without-cvs --disable-sanity-checks \
17 --with-headers=${STAGING_DIR_TARGET}${includedir} \ 18 --with-headers=${STAGING_DIR_TARGET}${includedir} \