cross-localedef-native: Fix case where ${B} != ${S}

This change allows ${B} != ${S} builds to work since otherwise configure
isn't found.

(From OE-Core rev: 68f447c46596387f95072743926298fc64cdd3b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2013-03-18 01:13:30 +00:00
parent 05239ff8ef
commit de258a9e90
1 changed files with 2 additions and 2 deletions

View File

@ -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
}