* cross-localedef-native: Fix case where ${B} != ${S}
@ 2013-03-18 1:13 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2013-03-18 1:13 UTC (permalink / raw)
To: openembedded-core
This change allows ${B} != ${S} builds to work since otherwise configure
isn't found.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
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 0fedfad..1d3c22b 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
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2013-03-18 1:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-18 1:13 cross-localedef-native: Fix case where ${B} != ${S} Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox