diff --git a/documentation/poky-ref-manual/extendpoky.xml b/documentation/poky-ref-manual/extendpoky.xml
index 978aa20a47..efbc52f7cb 100644
--- a/documentation/poky-ref-manual/extendpoky.xml
+++ b/documentation/poky-ref-manual/extendpoky.xml
@@ -79,7 +79,8 @@
By default, the helloworld, helloworld-dbg,
and helloworld-dev packages are built.
For information on how to customize the packaging process, see the
- Controlling Package Content section.
+ "Splitting an Application
+ into Multiple Packages" section.
@@ -174,8 +175,8 @@
-
- Controlling Package Content
+
+ Splitting an Application into Multiple Packages
You can use the variables PACKAGES and
@@ -222,6 +223,59 @@
+
+ Including Static Library Files
+
+
+ If you are building a library and the library offers static linking, you can control
+ which static library files (*.a files) get included in the
+ built library.
+
+
+
+ The PACKAGES and FILES_* variables in the
+ meta/conf/bitbake.conf configuration file define how files installed
+ by the do_install task are packaged.
+ By default, the PACKAGES variable contains
+ ${PN}-staticdev, which includes all static library files.
+
+ Previously released versions of the Yocto Project defined the static library files
+ through ${PN}-dev.
+
+ Following, is part of the BitBake configuration file.
+ You can see where the static library files are defined:
+
+ PACKAGES = "${PN}-dbg ${PN} ${PN}-doc ${PN}-dev ${PN}-staticdev ${PN}-locale"
+ PACKAGES_DYNAMIC = "${PN}-locale-*"
+ FILES = ""
+
+ FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
+ ${sysconfdir} ${sharedstatedir} ${localstatedir} \
+ ${base_bindir}/* ${base_sbindir}/* \
+ ${base_libdir}/*${SOLIBS} \
+ ${datadir}/${BPN} ${libdir}/${BPN}/* \
+ ${datadir}/pixmaps ${datadir}/applications \
+ ${datadir}/idl ${datadir}/omf ${datadir}/sounds \
+ ${libdir}/bonobo/servers"
+
+ FILES_${PN}-doc = "${docdir} ${mandir} ${infodir} ${datadir}/gtk-doc \
+ ${datadir}/gnome/help"
+ SECTION_${PN}-doc = "doc"
+
+ FILES_${PN}-dev = "${includedir} ${libdir}/lib*${SOLIBSDEV} ${libdir}/*.la \
+ ${libdir}/*.o ${libdir}/pkgconfig ${datadir}/pkgconfig \
+ ${datadir}/aclocal ${base_libdir}/*.o"
+ SECTION_${PN}-dev = "devel"
+ ALLOW_EMPTY_${PN}-dev = "1"
+ RDEPENDS_${PN}-dev = "${PN} (= ${EXTENDPKGV})"
+
+ FILES_${PN}-staticdev = "${libdir}/*.a ${base_libdir}/*.a"
+ SECTION_${PN}-staticdev = "devel"
+ RDEPENDS_${PN}-staticdev = "${PN}-dev (= ${EXTENDPKGV})"
+
+
+
+
Post Install Scripts