From 7c552996597faaee2fbee185b250c0ee30ea3b5f Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Wed, 14 Dec 2016 21:13:04 +0000 Subject: meta: remove True option to getVar calls getVar() now defaults to expanding by default, thus remove the True option from getVar() calls with a regex search and replace. Search made with the following regex: getVar ?\(( ?[^,()]*), True\) Signed-off-by: Joshua Lock Signed-off-by: Ross Burton --- meta/recipes-support/libiconv/libiconv_1.11.1.bb | 2 +- meta/recipes-support/libiconv/libiconv_1.14.bb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'meta/recipes-support/libiconv') diff --git a/meta/recipes-support/libiconv/libiconv_1.11.1.bb b/meta/recipes-support/libiconv/libiconv_1.11.1.bb index 6ce4b96e33..f28e64ae2e 100644 --- a/meta/recipes-support/libiconv/libiconv_1.11.1.bb +++ b/meta/recipes-support/libiconv/libiconv_1.11.1.bb @@ -23,7 +23,7 @@ S = "${WORKDIR}/libiconv-${PV}" inherit autotools pkgconfig gettext python __anonymous() { - if d.getVar("TCLIBC", True) == "glibc": + if d.getVar("TCLIBC") == "glibc": raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - glibc already provides iconv") } diff --git a/meta/recipes-support/libiconv/libiconv_1.14.bb b/meta/recipes-support/libiconv/libiconv_1.14.bb index 1b6fe09bb7..9fd5114ac8 100644 --- a/meta/recipes-support/libiconv/libiconv_1.14.bb +++ b/meta/recipes-support/libiconv/libiconv_1.14.bb @@ -23,9 +23,9 @@ S = "${WORKDIR}/libiconv-${PV}" inherit autotools pkgconfig gettext python __anonymous() { - if d.getVar("TARGET_OS", True) != "linux": + if d.getVar("TARGET_OS") != "linux": return - if d.getVar("TCLIBC", True) == "glibc": + if d.getVar("TCLIBC") == "glibc": raise bb.parse.SkipPackage("libiconv is provided for use with uClibc only - glibc already provides iconv") } -- cgit v1.2.3