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:15:17 +0100 |
commit | 6c1ddb540944f43784af929d02eb56d7efc350fb (patch) | |
tree | 53dc42ade57d422f02f6b4f2fa633c56d5b19eab /meta/classes/native.bbclass | |
parent | 918131d4530dd05ffa274aaf798d8c74e847448d (diff) | |
download | poky-6c1ddb540944f43784af929d02eb56d7efc350fb.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
(From OE-Core rev: e9ac5ac2f4d135734f549d17cce3ebc52132b7d0)
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 | |||
89 | 89 | ||
90 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" | 90 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" |
91 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 91 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
92 | sbindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | ||
92 | base_libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 93 | base_libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
93 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 94 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
94 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 95 | libexecdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |