diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index e07a494c66..8754c0516f 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -3176,13 +3176,14 @@
To ensure the module packaging actually gets done, you use
the do_split_packages function within
- the populate_packages python function
+ the populate_packages Python function
in your recipe.
The do_split_packages function
searches for a pattern of files or directories under a
specified path and creates a package for each one it finds
- by appending to the PACKAGES variable
- and setting the appropriate values for
+ by appending to the
+ PACKAGES
+ variable and setting the appropriate values for
FILES_packagename,
RDEPENDS_packagename,
DESCRIPTION_packagename, and so forth.
@@ -3218,7 +3219,8 @@
Thus, if a file in ${libdir}
called mod_alias.so is found,
a package called lighttpd-module-alias
- is created for it and the DESCRIPTION
+ is created for it and the
+ DESCRIPTION
is set to "Lighttpd module for alias".
@@ -3226,8 +3228,8 @@
Often, packaging modules is as simple as the previous
example.
- However, more advanced options exist that you can employ
- to do_split_packages to modify its
+ However, more advanced options exist that you can use
+ within do_split_packages to modify its
behavior.
And, if you need to, you can add more logic by specifying
a hook function that is called for each package.
@@ -3241,7 +3243,8 @@
do_split_packages, see the
connman.inc file in the
meta/recipes-connectivity/connman/
- directory of the poky source repository.
+ directory of the poky
+ source repository.
You can also find examples in
meta/classes/kernel.bbclass.