From b98da859423a541e419bbf38edacf2320ce00c8d Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Thu, 17 Jul 2014 15:58:18 +0800 Subject: gmp: use PACKAGECONFIG to address readline dependency To avoid automatically detecting readline dependency, which will lead to a implicit build result. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie --- meta/recipes-support/gmp/gmp.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-support/gmp/gmp.inc') diff --git a/meta/recipes-support/gmp/gmp.inc b/meta/recipes-support/gmp/gmp.inc index d025e07256..6aedc85f58 100644 --- a/meta/recipes-support/gmp/gmp.inc +++ b/meta/recipes-support/gmp/gmp.inc @@ -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" -- cgit 1.2.3-korg