diff options
author | André Draszik <andre.draszik@jci.com> | 2019-01-13 10:54:35 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-01-13 10:28:01 -0800 |
commit | 88f2b979caf24fad736b8e378cf9daa142ae0567 (patch) | |
tree | 9e900cfda087e6661842fe121364e2f3a5bce9c2 | |
parent | f62227b73f3ade91f884e58e0414d3e66612e04c (diff) | |
download | meta-openembedded-88f2b979caf24fad736b8e378cf9daa142ae0567.tar.gz |
meta-initramfs: 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>
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb index b285b2e8b..ab2afb7f8 100644 --- a/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb +++ b/meta-initramfs/recipes-devtools/klibc/klcc-cross_2.0.4.bb | |||
@@ -25,8 +25,8 @@ do_install() { | |||
25 | # magic by removing all the crazy escaping. | 25 | # magic by removing all the crazy escaping. |
26 | sed -i -e "2i \$TARGETSYSROOT = '${STAGING_DIR_TARGET}';" \ | 26 | sed -i -e "2i \$TARGETSYSROOT = '${STAGING_DIR_TARGET}';" \ |
27 | -e "2i \$NATIVESYSROOT = '${STAGING_DIR_NATIVE}';" \ | 27 | -e "2i \$NATIVESYSROOT = '${STAGING_DIR_NATIVE}';" \ |
28 | -e 's#${@d.getVar("STAGING_DIR_NATIVE", True).replace("/", "\\\\/").replace("-", "\\\\-").replace(".", "\\\\.")}#${NATIVESYSROOT}#g;' \ | 28 | -e 's#${@d.getVar("STAGING_DIR_NATIVE").replace("/", "\\\\/").replace("-", "\\\\-").replace(".", "\\\\.")}#${NATIVESYSROOT}#g;' \ |
29 | -e 's#${@d.getVar("STAGING_DIR_TARGET", True).replace("/", "\\\\/").replace("-", "\\\\-").replace(".", "\\\\.")}#${TARGETSYSROOT}#g' \ | 29 | -e 's#${@d.getVar("STAGING_DIR_TARGET").replace("/", "\\\\/").replace("-", "\\\\-").replace(".", "\\\\.")}#${TARGETSYSROOT}#g' \ |
30 | ${D}${bindir_crossscripts}/${TARGET_PREFIX}klcc | 30 | ${D}${bindir_crossscripts}/${TARGET_PREFIX}klcc |
31 | } | 31 | } |
32 | 32 | ||