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:
parent
05239ff8ef
commit
de258a9e90
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue