diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-23 13:22:02 +0000 |
---|---|---|
committer | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-05 15:36:27 +0000 |
commit | 65250a5537da220dff662269cb81d086b66c2ace (patch) | |
tree | c0b1fc6c9e8471346c416b964eff583f51d26589 /meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | |
parent | 11063a01d4511b2688ea7ba2d7359e4e07328c66 (diff) | |
download | openembedded-core-contrib-65250a5537da220dff662269cb81d086b66c2ace.tar.gz |
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 <joshua.g.lock@intel.com>
Diffstat (limited to 'meta/recipes-graphics/xorg-driver/xorg-driver-common.inc')
-rw-r--r-- | meta/recipes-graphics/xorg-driver/xorg-driver-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc index 57a4c827dd..fe42f11b68 100644 --- a/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc +++ b/meta/recipes-graphics/xorg-driver/xorg-driver-common.inc @@ -33,8 +33,8 @@ def _add_xorg_abi_depends(d, name): } output = os.popen("pkg-config xorg-server --variable=%s" % abis[name]).read() - mlprefix = d.getVar('MLPREFIX', True) or '' + mlprefix = d.getVar('MLPREFIX') or '' abi = "%sxorg-abi-%s-%s" % (mlprefix, name, output.split(".")[0]) - pn = d.getVar("PN", True) + pn = d.getVar("PN") d.appendVar('RDEPENDS_' + pn, ' ' + abi) |