summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-05-05 23:21:15 +0100
committerAlexander Larsson <alexl@redhat.com>2016-05-06 12:12:19 +0200
commitdb6c10cfd88650bb0e21aa8f1b3bcdb3cf54da3f (patch)
treeefce9199dd832f3fe101deac49af82f6aecf0358
parent3493f94f1b9d9f3f33f4ffe55abe406ccb2bec83 (diff)
cross-localedef-native: Fix build on aarch64
This adds an override cross-localedef-native_2.22.bbappend override which leverages the oe autotools configure, ultimately so that it will use a fresh config.sub & config.guess and properly recognize the aarch64 machine. This is a backport of an upstream yocto bug filed with this report and patch mail: https://bugzilla.yoctoproject.org/show_bug.cgi?id=9508 http://lists.openembedded.org/pipermail/openembedded-core/2016-April/120613.html This should be removed if/when the upstream bug is fixed in jethro, or, when moving to a new poky release branch which uses a newer version of glibc.
-rw-r--r--meta-freedesktop/recipes-core/glibc/cross-localedef-native_2.22.bbappend9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-freedesktop/recipes-core/glibc/cross-localedef-native_2.22.bbappend b/meta-freedesktop/recipes-core/glibc/cross-localedef-native_2.22.bbappend
new file mode 100644
index 0000000..1a1c255
--- /dev/null
+++ b/meta-freedesktop/recipes-core/glibc/cross-localedef-native_2.22.bbappend
@@ -0,0 +1,9 @@
+# Tell autotools that we're working in the localedef directory
+#
+AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
+
+# Here we need to skip the parent bbclass and do what the grandparent
+# does, invoke the autotools stuff
+do_configure () {
+ autotools_do_configure
+}