diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-04-25 16:36:26 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-06 10:31:14 +0100 |
commit | 5f142040ba48934917b455a89422db95ee4aeecd (patch) | |
tree | 646fb31fa1662e6ea17955e55d476ed1c8f76c7d | |
parent | 0bf6d578b4e8fedafe377795d05a17e9e4751021 (diff) | |
download | poky-5f142040ba48934917b455a89422db95ee4aeecd.tar.gz |
cross-localedef-native_2.22.bb: Use autotools configure
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.
(From OE-Core rev: 33d4c758a5d71435437dde74556d32404d91342f)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/glibc/cross-localedef-native_2.23.bb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb index fa930fd480..a6795ed9b3 100644 --- a/meta/recipes-core/glibc/cross-localedef-native_2.23.bb +++ b/meta/recipes-core/glibc/cross-localedef-native_2.23.bb | |||
@@ -9,6 +9,10 @@ LIC_FILES_CHKSUM = "file://LICENSES;md5=e9a558e243b36d3209f380deb394b213 \ | |||
9 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | 9 | file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" |
10 | 10 | ||
11 | 11 | ||
12 | # Tell autotools that we're working in the localedef directory | ||
13 | # | ||
14 | AUTOTOOLS_SCRIPT_PATH = "${S}/localedef" | ||
15 | |||
12 | inherit native | 16 | inherit native |
13 | inherit autotools | 17 | inherit autotools |
14 | 18 | ||
@@ -47,11 +51,6 @@ S = "${WORKDIR}/git" | |||
47 | EXTRA_OECONF = "--with-glibc=${S}" | 51 | EXTRA_OECONF = "--with-glibc=${S}" |
48 | CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" | 52 | CFLAGS += "-fgnu89-inline -std=gnu99 -DIS_IN\(x\)='0'" |
49 | 53 | ||
50 | do_configure () { | ||
51 | ${S}/localedef/configure ${EXTRA_OECONF} | ||
52 | } | ||
53 | |||
54 | |||
55 | do_install() { | 54 | do_install() { |
56 | install -d ${D}${bindir} | 55 | install -d ${D}${bindir} |
57 | install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef | 56 | install -m 0755 ${B}/localedef ${D}${bindir}/cross-localedef |