Openembedded Core Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] cross-localedef-native_2.22.bb: Use autotools configure
@ 2016-04-25 20:36 Tristan Van Berkom
  2016-04-25 20:41 ` [PATCH] " Tristan Van Berkom
  0 siblings, 1 reply; 2+ messages in thread
From: Tristan Van Berkom @ 2016-04-25 20:36 UTC (permalink / raw)
  To: openembedded-core

Use the autotools default configure commands and just tell autotools
where to run configure from.

This fixes the build when running on an aarch64 host, which the prebuilt
configure scripts with glibc 2.22 do not recognize.
---
 meta/recipes-core/glibc/cross-localedef-native_2.22.bb | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb b/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
index 3aefe74..7e484fa 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.22.bb
@@ -9,6 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \
       file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
 
 
+# Tell autotools that we're working in the localedef directory
+#
+AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
+
 inherit native
 inherit autotools
 
@@ -49,11 +53,6 @@ S = "${WORKDIR}/git"
 EXTRA_OECONF = "--with-glibc=${S}"
 CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'"
 
-do_configure () {
-	${S}/localedef/configure ${EXTRA_OECONF}
-}
-
-
 do_install() {
 	install -d ${D}${bindir}
 	install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef
-- 
2.8.0.rc3



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-25 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 20:36 [meta-oe][PATCH] cross-localedef-native_2.22.bb: Use autotools configure Tristan Van Berkom
2016-04-25 20:41 ` [PATCH] " Tristan Van Berkom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox