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.
Signed-off-by: Ross Burton <ross.burton@intel.com>
file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
+# Tell autotools that we're working in the localedef directory
+#
+AUTOTOOLS_SCRIPT_PATH = "${S}/localedef"
+
inherit native
inherit autotools
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