diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-10-11 16:59:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-18 16:14:03 +0200 |
commit | 8a475be8087ba3d2bda3835f49e66a5842538612 (patch) | |
tree | a03bd44a289db339885c984da1a8dec719ae4b60 /meta/recipes-devtools/file | |
parent | a9dc143c44663ea31ea5cff8ac931ab3d6884e85 (diff) | |
download | poky-8a475be8087ba3d2bda3835f49e66a5842538612.tar.gz |
file: add wrapper to nativesdk-file
"file" command in exported SDK doesn't work:
...
$ file sysroots/
file: could not find any valid magic files!
...
In oe-core commit 68d548cbae729eaea8ce1403dc95ff63c4a7375c,
it added wrapper to file-native. Do the same thing for
nativesdk-file.
(From OE-Core rev: 69a3ab38d1c725c2b575065739cae4a3b45015a2)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.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/file')
-rw-r--r-- | meta/recipes-devtools/file/file_5.18.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/file/file_5.18.bb b/meta/recipes-devtools/file/file_5.18.bb index f2f8d032e2..9068b9314a 100644 --- a/meta/recipes-devtools/file/file_5.18.bb +++ b/meta/recipes-devtools/file/file_5.18.bb | |||
@@ -27,4 +27,9 @@ do_install_append_class-native() { | |||
27 | --magic-file ${datadir}/misc/magic.mgc | 27 | --magic-file ${datadir}/misc/magic.mgc |
28 | } | 28 | } |
29 | 29 | ||
30 | do_install_append_class-nativesdk() { | ||
31 | create_cmdline_wrapper ${D}/${bindir}/file \ | ||
32 | --magic-file ${datadir}/misc/magic.mgc | ||
33 | } | ||
34 | |||
30 | BBCLASSEXTEND = "native nativesdk" | 35 | BBCLASSEXTEND = "native nativesdk" |