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 <[email protected]>
---
meta/recipes-core/eglibc/cross-localedef-native_2.17.bb +2 -2
@@ -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 }