Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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 ADC 100M 14b 4cha - Software
Commits
b3a7f0b2
Commit
b3a7f0b2
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
e1a84c8f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
Makefile
kernel/Makefile
+8
-1
fa-core.c
kernel/fa-core.c
+2
-0
No files found.
kernel/Makefile
View file @
b3a7f0b2
...
...
@@ -12,7 +12,14 @@ KBUILD_EXTRA_SYMBOLS := \
GIT_VERSION
=
$(
shell
cd
$(src)
;
git describe
--always
--dirty
--long
--tags
)
ccflags-y
=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
\
# 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
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
\
-I
$(ZIO)
/include
\
-I
$(FMC_BUS)
/kernel/include
\
-I
$(SPEC_SW)
/kernel
\
...
...
kernel/fa-core.c
View file @
b3a7f0b2
...
...
@@ -601,3 +601,5 @@ MODULE_AUTHOR("Federico Vaga");
MODULE_DESCRIPTION
(
"FMC-ADC-100MS-14b Linux Driver"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
GIT_VERSION
);
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