diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-07-21 12:52:19 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-31 22:02:52 +0100 |
commit | 9d7e7b5b574f1620a6516a27e8f8cfd418b827b0 (patch) | |
tree | d0856cb1500ebfb94d1529f9cdffaf4cf0a3262c /meta/recipes-support/libbsd | |
parent | aea80fa7d11a56a2d17458ce0f51fc3c8fc9a49b (diff) | |
download | poky-9d7e7b5b574f1620a6516a27e8f8cfd418b827b0.tar.gz |
classes/package: Use HOST_OS for runtime dependencies
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).
Fix the code to use HOST_OS instead.
(From OE-Core rev: 2541b5be1e9c2c33ca8017130461a19f8734d883)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f284c5b2df220b520b025a59874e04ef4becd829)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libbsd')
0 files changed, 0 insertions, 0 deletions