diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2019-05-05 18:04:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-08 12:12:30 +0100 |
commit | e9ac5ac2f4d135734f549d17cce3ebc52132b7d0 (patch) | |
tree | 09776f58e9e8a0556e17b45fca5e3e920197d677 /meta/classes/native.bbclass | |
parent | 721e69aa12dd9ee22618ef13f29fb6d28eeab9af (diff) | |
download | openembedded-core-contrib-e9ac5ac2f4d135734f549d17cce3ebc52132b7d0.tar.gz |
cpio/tar/native.bbclass: move rmt to sbindir and add a prefix to avoid native clashing
The rmt in cpio-native and tar-native is clashing, since
tar-native has set var-NATIVE_PACKAGE_PATH_SUFFIX, we move rmt
to sbindir, and add suffix NATIVE_PACKAGE_PATH_SUFFIX to sbindir
could avoid the clashing.
And in Ubuntu, rmt is in sbindir
$ which rmt
/usr/sbin/rmt
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r-- | meta/classes/native.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index e9f6c740ab..d5b6f6af8b 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass @@ -89,6 +89,7 @@ export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 NATIVE_PACKAGE_PATH_SUFFIX ?= "" bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" +sbindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" base_libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |