summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-01-06 19:52:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-10 23:12:43 +0000
commitfdbbdda7e59ca3d3ce9d876ea31742e6f2153214 (patch)
tree7564be49b476b3a436a1cf49be16ed8963a12a01 /documentation/dev-manual
parent76ab2eab312371294e1a2f550504f3a9d5cef3b1 (diff)
downloadpoky-fdbbdda7e59ca3d3ce9d876ea31742e6f2153214.tar.gz
dev-manual: update bitbake.conf sample for static libs
(From yocto-docs rev: 0762a24cb20e23d4903402bea109ae8d1d85ef5e) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/common-tasks.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
index 9d0c8f33d4..8bd82223f2 100644
--- a/documentation/dev-manual/common-tasks.rst
+++ b/documentation/dev-manual/common-tasks.rst
@@ -4668,7 +4668,7 @@ Following is part of the BitBake configuration file, where you can see
4668how the static library files are defined:: 4668how the static library files are defined::
4669 4669
4670 PACKAGE_BEFORE_PN ?= "" 4670 PACKAGE_BEFORE_PN ?= ""
4671 PACKAGES = "${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}" 4671 PACKAGES = "${PN}-src ${PN}-dbg ${PN}-staticdev ${PN}-dev ${PN}-doc ${PN}-locale ${PACKAGE_BEFORE_PN} ${PN}"
4672 PACKAGES_DYNAMIC = "^${PN}-locale-.*" 4672 PACKAGES_DYNAMIC = "^${PN}-locale-.*"
4673 FILES = "" 4673 FILES = ""
4674 4674
@@ -4676,7 +4676,8 @@ how the static library files are defined::
4676 ${sysconfdir} ${sharedstatedir} ${localstatedir} \ 4676 ${sysconfdir} ${sharedstatedir} ${localstatedir} \
4677 ${base_bindir}/* ${base_sbindir}/* \ 4677 ${base_bindir}/* ${base_sbindir}/* \
4678 ${base_libdir}/*${SOLIBS} \ 4678 ${base_libdir}/*${SOLIBS} \
4679 ${base_prefix}/lib/udev/rules.d ${prefix}/lib/udev/rules.d \ 4679 ${base_prefix}/lib/udev ${prefix}/lib/udev \
4680 ${base_libdir}/udev ${libdir}/udev \
4680 ${datadir}/${BPN} ${libdir}/${BPN}/* \ 4681 ${datadir}/${BPN} ${libdir}/${BPN}/* \
4681 ${datadir}/pixmaps ${datadir}/applications \ 4682 ${datadir}/pixmaps ${datadir}/applications \
4682 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \ 4683 ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
@@ -4692,7 +4693,8 @@ how the static library files are defined::
4692 FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \ 4693 FILES:${PN}-dev = "${includedir} ${FILES_SOLIBSDEV} ${libdir}/*.la \
4693 ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \ 4694 ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
4694 ${datadir}/aclocal ${base_libdir}/*.o \ 4695 ${datadir}/aclocal ${base_libdir}/*.o \
4695 ${libdir}/${BPN}/*.la ${base_libdir}/*.la" 4696 ${libdir}/${BPN}/*.la ${base_libdir}/*.la \
4697 ${libdir}/cmake ${datadir}/cmake"
4696 SECTION:${PN}-dev = "devel" 4698 SECTION:${PN}-dev = "devel"
4697 ALLOW_EMPTY:${PN}-dev = "1" 4699 ALLOW_EMPTY:${PN}-dev = "1"
4698 RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})" 4700 RDEPENDS:${PN}-dev = "${PN} (= ${EXTENDPKGV})"