Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
31
Issues
31
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Software for White Rabbit PTP Core
Commits
ad219f53
Commit
ad219f53
authored
Oct 17, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: documented Kconfig use
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
f8bc3bcb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
9 deletions
+29
-9
wrpc.in
doc/wrpc.in
+29
-9
No files found.
doc/wrpc.in
View file @
ad219f53
...
@@ -343,17 +343,37 @@ First you have to compile the tools provided with WRPC software which are used
...
@@ -343,17 +343,37 @@ First you have to compile the tools provided with WRPC software which are used
later during the software compilation:
later during the software compilation:
@example
@example
$
cd tools
$
make -C tools
$
make
@end example
$
cd ..
Now you have everything that is needed to build the software for WRPC,
but you need to make a few configuration choices. The package is using
@i
{
Kconfig
}
as a configuration engine, so you may run one of the
following commnads (the first is text-mode, the second uses a KDE GUI
and the third uses a Gnome GUI):
@example
$
make menuconfig
$
make xconfig
$
make gconfig
@end example
@end example
Now you have everything that is needed to build the software for WRPC. Before
Other @i
{
Kconfig
}
target applies, like @code
{
config
}
, @code
{
oldconfig
}
compilation the decision can be made whether to turn on or not the software
and so on. A few default known
-
good configurations are found in
support for Etherbone core that is integrated inside WRPC gateware for SPEC
@file
{
.
/
configs
}
and you choose them by @i
{
make
}
ing them by name
board. By default it is disabled but can be turned on by setting the
like this:
@i
{
CONFIG
_
ETHERBONE
}
variable to @i
{
y
}
inside the Makefile. The compilation is made by
a simple command without any additional parameters:
@example
$
make spec
_
defconfig
@end example
The most important configuration choice at this point in time is
whether to enable Etherbone or not. It is disabled by default in
@code
{
spec
_
defconfig
}
and enabled by default in
@code
{
etherbone
_
defconfig
}
.
After the package is configured, just run @code
{
make
}
without
parameters to build your binary file:
@example
@example
$
make
$
make
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment