It is time to generate the index. This is a job for script
genxref
.
genxref
is driven by two or three arguments:
--url=
URL_of_your_source_tree
The URL is made of a 'host_names'
followed by 'virtroot'
.
The purpose of this argument is to locate inside
lxr.conf which tree to work on
(at least the server if the tree name comes from an URL argument).
--tree=
name_of_tree_to_index
(Starting with LXR 2.0) This selects a tree if it must be designated through an URL argument.
--version=
name_of_version_to_index
This instructs genxref
to index only
the designated version.
It is interesting for trees with numerous versions
to limit the time spent in indexing when only
one version was modified since last indexing.
'range'
parameter.
With the previous configuration, this gives:
Depending on the size of your source, indexing may be very
lengthy.
If you intend to index the kernel tree, think of launching
genxref
for at least an overnight job (YMMV).
Test before on a simple case if this is your first
installation.
Before launching this time-consuming job,
you have a last opportunity to check your configuration for trivial errors
with option --checkonly
:
You can also ask genxref
to index every version
in your tree with option --allversions
as in: