Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
Simple PCIe FMC carrier SPEC - Software
Commits
04cc947e
Commit
04cc947e
authored
Sep 06, 2013
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: generate release value from git version
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
3be0244b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
9 deletions
+13
-9
Makefile
doc/Makefile
+3
-1
spec-sw.in
doc/spec-sw.in
+10
-8
No files found.
doc/Makefile
View file @
04cc947e
...
...
@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF)
MAKEINFO
?=
makeinfo
RELEASE
=
$(
shell
git describe
--always
--dirty
)
%.texi
:
%.in
@
rm
-f
$@
sed
-f
./infofilter
$<
>
$@
sed
s/__RELEASE_GIT_ID__/
$(RELEASE)
/
$<
|
sed
-f
./infofilter
>
$@
emacs
-batch
--no-site-file
-l
fixinfo
$@
chmod
-w
$@
...
...
doc/spec-sw.in
View file @
04cc947e
...
...
@@ -34,12 +34,14 @@
@setchapternewpage off
@set update-month February 2014
@c the release name below is substituted at build time
@set release
__
RELEASE
_
GIT
_
ID
__
@finalout
@titlepage
@title SPEC Software Support
@
c @subtitle Version 2.2 (@value
{
update-month
}
)
@
subtitle @value
{
update-month
}
(@value
{
release
}
)
@subtitle A driver for the SPEC card and its FMC modules
@author Alessandro Rubini for CERN (BE-CO-HT)
@end titlepage
...
...
@@ -1440,11 +1442,11 @@ be made safer.
@chapter Portability
This package should be portable. However I didn't test it on a wide
variety of systems.
I used the core @code
{
spec.ko
}
on a
32
-
bit x
86
host, running version
2
.
6
.
32
and
3
.
4
of the kernel.
variety of systems.
Currently most of my use is
on a
32
-
bit x
86
host, running version
3
.
4
of the kernel.
The complete package
compile
s without any warning from version
2
.
6
.
37
up to
3
.
5
(
I didn't try later versions, yet
)
. Frame timestamping
The complete package
build
s without any warning from version
2
.
6
.
37
up to
3
.
13
(
I didn't try later versions, yet
)
. Frame timestamping
changed seriously after
2
.
6
.
36
, so the @code
{
wr
-
nic.ko
}
driver is not
easily backward portable.
...
...
@@ -1457,10 +1459,10 @@ the @i{Makefile} supports the configuration variable
@end smallexample
With this in place, the package compiles without any warning on a
32
-
bit PC from version
2
.
6
.
30
onwards
, and I tested up to
3
.
5
.
32
-
bit PC from version
2
.
6
.
30
onwards.
By using the backport branch of the
2013
-
05
release you can build
for all kernels back to
2
.
6
.
27
and also
2
.
6
.
24
(
the one we
a
re still
using in production
)
.
for all kernels back to
2
.
6
.
27
and also
2
.
6
.
24
(
the one we
we
re still
using in production
)
.
Later releases have no associated backport branch.
@c ##########################################################################
@bye
...
...
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