Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC TDC 1ns 5cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
FMC TDC 1ns 5cha - Software
Commits
6266f55a
Commit
6266f55a
authored
Jun 20, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: add GIT_VERSION
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
0dacf4c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
Makefile
kernel/Makefile
+3
-1
ft-core.c
kernel/ft-core.c
+1
-0
No files found.
kernel/Makefile
View file @
6266f55a
...
...
@@ -5,7 +5,9 @@ SPEC ?= $(M)/../spec-sw
KBUILD_EXTRA_SYMBOLS
:=
$(ZIO)
/Module.symvers
$(SPEC)
/kernel/Module.symvers
$(FMC_BUS)
/kernel/Module.symvers
ccflags-y
=
-I
$(ZIO)
/include
-I
$M
-I
$(FMC_BUS)
/kernel/include
-I
$(FMC_BUS)
/kernel/include/linux
-I
$(FMC_BUS)
/sdb-lib
-I
$(SPEC)
/kernel
GIT_VERSION
=
$(
shell
cd
$(src)
;
git describe
--always
--dirty
--long
--tags
)
ccflags-y
=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
-I
$(ZIO)
/include
-I
$M
-I
$(FMC_BUS)
/kernel/include
-I
$(FMC_BUS)
/kernel/include/linux
-I
$(FMC_BUS)
/sdb-lib
-I
$(SPEC)
/kernel
#ccflags-y += -DDEBUG
...
...
kernel/ft-core.c
View file @
6266f55a
...
...
@@ -390,4 +390,5 @@ static void ft_exit(void)
module_init
(
ft_init
);
module_exit
(
ft_exit
);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL and additional rights"
);
/* LGPL */
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