diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-11-25 15:28:52 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-12-02 09:16:17 +0100 |
commit | efd3696e70a6603f1a45faa4a172433514f0a487 (patch) | |
tree | b72751ba93b050391db05a8e1be7506836b6d515 /meta-oe/recipes-devtools/nodejs | |
parent | 761639b9d7681c81dd69eaf3a37c32791d6e97fd (diff) | |
download | meta-openembedded-efd3696e70a6603f1a45faa4a172433514f0a487.tar.gz |
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-oe/recipes-devtools/nodejs')
-rw-r--r-- | meta-oe/recipes-devtools/nodejs/nodejs_4.6.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/nodejs/nodejs_4.6.1.bb b/meta-oe/recipes-devtools/nodejs/nodejs_4.6.1.bb index 03e981249..574d50a05 100644 --- a/meta-oe/recipes-devtools/nodejs/nodejs_4.6.1.bb +++ b/meta-oe/recipes-devtools/nodejs/nodejs_4.6.1.bb | |||
@@ -44,7 +44,7 @@ do_configure () { | |||
44 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES | 44 | GYP_DEFINES="${GYP_DEFINES}" export GYP_DEFINES |
45 | # $TARGET_ARCH settings don't match --dest-cpu settings | 45 | # $TARGET_ARCH settings don't match --dest-cpu settings |
46 | ./configure --prefix=${prefix} --without-snapshot --shared-openssl --shared-zlib \ | 46 | ./configure --prefix=${prefix} --without-snapshot --shared-openssl --shared-zlib \ |
47 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH', True), d)}" \ | 47 | --dest-cpu="${@map_nodejs_arch(d.getVar('TARGET_ARCH'), d)}" \ |
48 | --dest-os=linux \ | 48 | --dest-os=linux \ |
49 | ${ARCHFLAGS} | 49 | ${ARCHFLAGS} |
50 | } | 50 | } |