From a5ecd90543b0842555662ea92e129d78e6f8c08b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 10 Jul 2018 07:06:01 +0000 Subject: meta-ti: cleanup use of d.getVar() 1. drop use of True as second parameter, which is default, to align with master 2. there were instances of incorrectly passing 'd' as second parameter from previous conversion from bb.data.getVar() usage Signed-off-by: Denys Dmytriyenko --- recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes-graphics/libgles') diff --git a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb index 282a4ab2..d17411ec 100644 --- a/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb +++ b/recipes-graphics/libgles/ti-sgx-ddk-um_1.14.3699939.bb @@ -12,11 +12,11 @@ SRCREV = "358fe42d34a7570896e5d1639869da564ddd0484" # There's only hardfp version available python __anonymous() { - tunes = d.getVar("TUNE_FEATURES", d, 1) + tunes = d.getVar("TUNE_FEATURES") if not tunes: return - pkgn = d.getVar("PN", d, 1) - pkgv = d.getVar("PV", d, 1) + pkgn = d.getVar("PN") + pkgv = d.getVar("PV") if "callconvention-hard" not in tunes: bb.warn("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) raise bb.parse.SkipPackage("%s-%s ONLY supports hardfp mode for now" % (pkgn, pkgv)) -- cgit v1.2.3-54-g00ecf