gmp: use PACKAGECONFIG to address readline dependency

To avoid automatically detecting readline dependency, which will lead to
a implicit build result.

(From OE-Core rev: b98da859423a541e419bbf38edacf2320ce00c8d)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ming Liu
2014-07-17 15:58:18 +08:00
committed by Richard Purdie
parent 46ab196116
commit 1bec8d6317
2 changed files with 6 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ acpaths = ""
BBCLASSEXTEND = "native nativesdk"
PACKAGECONFIG ??= ""
PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
EXTRA_OECONF += " --enable-cxx=detect"
PACKAGES =+ "libgmpxx"

View File

@@ -17,4 +17,7 @@ SRC_URI = "${GNU_MIRROR}/gmp/${BP}.tar.bz2 \
SRC_URI[md5sum] = "091c56e0e1cca6b09b17b69d47ef18e3"
SRC_URI[sha256sum] = "d07ffcb37eecec35c5ec72516d10b35fdf6e6fef1fcf1dcd37e30b8cbf8bf941"
PACKAGECONFIG ??= ""
PACKAGECONFIG[readline] = "--with-readline=yes,--with-readline=no,readline"
inherit autotools texinfo