mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0fe6e2dc7b
commit
b2f1de35b4
@@ -11,7 +11,8 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}"
|
|||||||
do_configure () {
|
do_configure () {
|
||||||
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
|
(cd ${S} && gnu-configize) || die "failure in running gnu-configize"
|
||||||
find ${S} -name "configure" | xargs touch
|
find ${S} -name "configure" | xargs touch
|
||||||
${S}/configure --host=${TARGET_SYS} --build=${BUILD_SYS} \
|
cfgscript=`python -c "import os; print os.path.relpath('${S}', '.')"`/configure
|
||||||
|
$cfgscript --host=${TARGET_SYS} --build=${BUILD_SYS} \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--without-cvs --disable-sanity-checks \
|
--without-cvs --disable-sanity-checks \
|
||||||
--with-headers=${STAGING_DIR_TARGET}${includedir} \
|
--with-headers=${STAGING_DIR_TARGET}${includedir} \
|
||||||
|
|||||||
Reference in New Issue
Block a user