diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2022-07-20 19:52:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-23 13:55:26 +0100 |
commit | e689476c4cae1759dade2d2ade4e9dc46efeb34d (patch) | |
tree | a215b0777a0f06ef9bc3ceea52edef001cb6dada /meta/classes/base.bbclass | |
parent | a0e690138c6c91f95a0ef9d2132d3deea2e7d198 (diff) | |
download | poky-e689476c4cae1759dade2d2ade4e9dc46efeb34d.tar.gz |
glibc: make glibc-dev depend on kernel headers
The linux kernel headers are necessary for glibc-dev, so
we need to use RDEPENDS instead of DEV_PKG_DEPENDENCY which
specifies RRECOMMENDS.
Currently, in case of NO_RECOMMENDATIONS set to "1", linux
kernel headers are not pulled in by glibc-dev, causing error
like below when compiling.
fatal error: linux/errno.h: No such file or directory
The problem could be reproduced by setting NO_RECOMMENDATIONS
to "1" and then running:
bitbake core-image-minimal -c populate_sdk
bitbake core-image-minimal -c testsdk
(From OE-Core rev: fdb16e1a78c2abcc8ac89678b1b250ca4fa9c0d9)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
0 files changed, 0 insertions, 0 deletions