From: Richard Purdie Date: Mon, 18 Mar 2013 01:13:30 +0000 (+0000) Subject: cross-localedef-native: Fix case where ${B} != ${S} X-Git-Tag: yocto-4.0~33569 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68f447c46596387f95072743926298fc64cdd3b9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cross-localedef-native: Fix case where ${B} != ${S} This change allows ${B} != ${S} builds to work since otherwise configure isn't found. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/eglibc/cross-localedef-native_2.17.bb b/meta/recipes-core/eglibc/cross-localedef-native_2.17.bb index 0fedfad641b..1d3c22bf57f 100644 --- a/meta/recipes-core/eglibc/cross-localedef-native_2.17.bb +++ b/meta/recipes-core/eglibc/cross-localedef-native_2.17.bb @@ -39,11 +39,11 @@ EXTRA_OECONF = "--with-glibc=${WORKDIR}/eglibc-${PV}/libc" CFLAGS += "-DNOT_IN_libc=1" do_configure () { - ./configure ${EXTRA_OECONF} + ${S}/configure ${EXTRA_OECONF} } do_install() { install -d ${D}${bindir} - install -m 0755 ${S}/localedef ${D}${bindir}/cross-localedef + install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef }