Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC - 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
Simple VME FMC Carrier SVEC - Software
Commits
6059557b
Commit
6059557b
authored
Jul 14, 2014
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: use CERN_SUPER_MODULE trick
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
9d2a241c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Makefile
kernel/Makefile
+7
-0
svec-drv.c
kernel/svec-drv.c
+2
-0
No files found.
kernel/Makefile
View file @
6059557b
...
...
@@ -5,6 +5,13 @@ export FMC_DRV
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
# For this CSM_VERSION, please see ohwr.org/csm documentation
ifdef
CONFIG_CSM_VERSION
ccflags-y
+=
-D
"CERN_SUPER_MODULE=MODULE_VERSION(
\"
$(CONFIG_CSM_VERSION)
\"
)"
else
ccflags-y
+=
-DCERN_SUPER_MODULE
=
""
endif
ccflags-y
+=
-I
$(FMC_DRV)
/include
ccflags-y
+=
-DDEBUG
ccflags-y
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
...
...
kernel/svec-drv.c
View file @
6059557b
...
...
@@ -847,3 +847,5 @@ MODULE_AUTHOR("Juan David Gonzalez Cobas");
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_DESCRIPTION
(
"svec driver"
);
CERN_SUPER_MODULE
;
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