diff options
author | Javier Viguera <javier.viguera@digi.com> | 2014-10-20 12:13:08 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-25 15:32:12 +0000 |
commit | 4bd4da1e1433ae64720f59d48188ecd1960dac28 (patch) | |
tree | 768b2465badaf66a9671a2cc035a5ebf4b1eeb10 | |
parent | 1c7a2d764c9a5df4f1d249f34c9dacfc09c0071c (diff) | |
download | openembedded-core-contrib-4bd4da1e1433ae64720f59d48188ecd1960dac28.tar.gz |
file: add wrapper to nativesdk-file
Backport commit 69a3ab3 to 'daisy' which uses a different version of
file package.
Author of the original patch: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/file/file_5.16.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.16.bb b/meta/recipes-devtools/file/file_5.16.bb index 46dbf88f8d..a15d952e3d 100644 --- a/meta/recipes-devtools/file/file_5.16.bb +++ b/meta/recipes-devtools/file/file_5.16.bb @@ -32,5 +32,9 @@ do_install_append_class-native() { --magic-file ${datadir}/misc/magic.mgc } +do_install_append_class-nativesdk() { + create_cmdline_wrapper ${D}/${bindir}/file \ + --magic-file ${datadir}/misc/magic.mgc +} BBCLASSEXTEND = "native nativesdk" |