diff options
author | Randy Witt <randy.e.witt@linux.intel.com> | 2015-10-22 19:46:11 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:29 +0000 |
commit | 273bcb430c103de9cd3dbfd88955343593f7ed67 (patch) | |
tree | 22e44e7139d0b24213e05e4d035fcad0ab9451c8 /meta/recipes-devtools/mtools | |
parent | 031d4645041ba83c212901f08c200e596b84451b (diff) | |
download | poky-273bcb430c103de9cd3dbfd88955343593f7ed67.tar.gz |
mtools_4.0.18.bb: Use create_wrapper() for mcopy
mcopy uses the IBM850 codepage from gconv. The default install location
for gconv will not match the actual install location since it can be
pulled from sstate. This patch overrides the default location when
running by adding GCONV_PATH to the environment for mcopy.
[YOCTO #7629]
(From OE-Core rev: ba3493c434ced719135082607e5f2e1d87559952)
Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/mtools')
-rw-r--r-- | meta/recipes-devtools/mtools/mtools_4.0.18.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtools/mtools_4.0.18.bb b/meta/recipes-devtools/mtools/mtools_4.0.18.bb index 52decfdf63..24c9d49312 100644 --- a/meta/recipes-devtools/mtools/mtools_4.0.18.bb +++ b/meta/recipes-devtools/mtools/mtools_4.0.18.bb | |||
@@ -45,3 +45,8 @@ do_install_prepend () { | |||
45 | mkdir -p ${D}/${bindir} | 45 | mkdir -p ${D}/${bindir} |
46 | mkdir -p ${D}/${datadir} | 46 | mkdir -p ${D}/${datadir} |
47 | } | 47 | } |
48 | |||
49 | do_install_append_class-native () { | ||
50 | create_wrapper ${D}${bindir}/mcopy \ | ||
51 | GCONV_PATH=${libdir}/gconv | ||
52 | } | ||