mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 12:32:12 +02:00
cmake: Always put cmake package files in -dev packages
Various recipes that inherit cmake contain FILES_${PN}-dev magic to add the
generated package files to their -dev packages. Since this is a standard
feature of cmake, we might as well teach cmake.bbclass to do this itself so
those recipes can be simpler.
(From OE-Core rev: d91dc4666683a96e9d03cbbd21b8a546f9069c93)
Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
1103a03742
commit
7389cb451c
@@ -34,6 +34,8 @@ EXTRA_OECMAKE_append = " ${PACKAGECONFIG_CONFARGS}"
|
||||
EXTRA_OECMAKE_BUILD_prepend_task-compile = "${PARALLEL_MAKE} "
|
||||
EXTRA_OECMAKE_BUILD_prepend_task-install = "${PARALLEL_MAKEINST} "
|
||||
|
||||
FILES_${PN}-dev += "${libdir}/cmake ${datadir}/cmake"
|
||||
|
||||
# CMake expects target architectures in the format of uname(2),
|
||||
# which do not always match TARGET_ARCH, so all the necessary
|
||||
# conversions should happen here.
|
||||
|
||||
Reference in New Issue
Block a user