diff options
author | André Draszik <andre.draszik@jci.com> | 2019-01-13 10:55:51 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-13 10:28:01 -0800 |
commit | e219649594742a200c1dd5d28e8bf2f5eda2504e (patch) | |
tree | a83798cb84c1fcbe44cd2035aaaaba840966090b /meta-oe/recipes-support/opencv/opencv_3.4.3.bb | |
parent | 24af1f974cc95c50dfa56ad15b113279c3993c5d (diff) | |
download | meta-openembedded-e219649594742a200c1dd5d28e8bf2f5eda2504e.tar.gz |
meta-oe: remove True option to getVar calls (again)
A couple have still been missed in the past despite multiple
attempts at doing so (or simply have re-appeared?).
Search & replace made using the following command:
sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \
-i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \
| cut -d':' -f1 \
| sort -u)
Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/opencv/opencv_3.4.3.bb')
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_3.4.3.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.4.3.bb b/meta-oe/recipes-support/opencv/opencv_3.4.3.bb index 0a99700b4..2b25e39dc 100644 --- a/meta-oe/recipes-support/opencv/opencv_3.4.3.bb +++ b/meta-oe/recipes-support/opencv/opencv_3.4.3.bb | |||
@@ -20,7 +20,7 @@ SRC_URI[tinydnn.sha256sum] = "e2c61ce8c5debaa644121179e9dbdcf83f497f39de853f8dd5 | |||
20 | 20 | ||
21 | def ipp_filename(d): | 21 | def ipp_filename(d): |
22 | import re | 22 | import re |
23 | arch = d.getVar('TARGET_ARCH', True) | 23 | arch = d.getVar('TARGET_ARCH') |
24 | if re.match("i.86$", arch): | 24 | if re.match("i.86$", arch): |
25 | return "ippicv_2017u3_lnx_ia32_general_20180518.tgz" | 25 | return "ippicv_2017u3_lnx_ia32_general_20180518.tgz" |
26 | else: | 26 | else: |
@@ -28,7 +28,7 @@ def ipp_filename(d): | |||
28 | 28 | ||
29 | def ipp_md5sum(d): | 29 | def ipp_md5sum(d): |
30 | import re | 30 | import re |
31 | arch = d.getVar('TARGET_ARCH', True) | 31 | arch = d.getVar('TARGET_ARCH') |
32 | if re.match("i.86$", arch): | 32 | if re.match("i.86$", arch): |
33 | return "ea72de74dae3c604eb6348395366e78e" | 33 | return "ea72de74dae3c604eb6348395366e78e" |
34 | else: | 34 | else: |