diff options
Diffstat (limited to 'yocto-poky/meta/recipes-core/glibc/glibc-initial.inc')
-rw-r--r-- | yocto-poky/meta/recipes-core/glibc/glibc-initial.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/yocto-poky/meta/recipes-core/glibc/glibc-initial.inc b/yocto-poky/meta/recipes-core/glibc/glibc-initial.inc index 35008489e..5975fd26c 100644 --- a/yocto-poky/meta/recipes-core/glibc/glibc-initial.inc +++ b/yocto-poky/meta/recipes-core/glibc/glibc-initial.inc @@ -11,11 +11,11 @@ TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" do_configure () { (cd ${S} && gnu-configize) || die "failure in running gnu-configize" 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 \ --without-cvs --disable-sanity-checks \ --with-headers=${STAGING_DIR_TARGET}${includedir} \ - --with-kconfig=${STAGING_BINDIR_NATIVE} \ --enable-hacker-mode --enable-addons } @@ -74,3 +74,5 @@ do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_TCBOOTSTRAP}/" do_evacuate_scripts () { : } + +inherit nopackages |