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
57339bf2
Commit
57339bf2
authored
Feb 23, 2014
by
Alessandro Rubini
Committed by
Federico Vaga
Jul 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drivers: use CERN_SUPER_MODULE trick
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
bf9108f0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
0 deletions
+11
-0
Makefile
kernel/Makefile
+7
-0
spec-pci.c
kernel/spec-pci.c
+2
-0
wr-nic-core.c
kernel/wr-nic-core.c
+2
-0
No files found.
kernel/Makefile
View file @
57339bf2
...
...
@@ -8,6 +8,13 @@ KBUILD_EXTRA_SYMBOLS := $(FMC_DRV)/Module.symvers
GIT_VERSION
=
$(
shell
cd
$(src)
;
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
$(src)
/include
-I
$(FMC_DRV)
/include
ccflags-y
+=
$(WR_NIC_CFLAGS)
ccflags-y
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
...
...
kernel/spec-pci.c
View file @
57339bf2
...
...
@@ -215,3 +215,5 @@ module_exit(spec_exit);
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL"
);
CERN_SUPER_MODULE
;
kernel/wr-nic-core.c
View file @
57339bf2
...
...
@@ -225,3 +225,5 @@ void __weak wrn_gpio_exit(struct fmc_device *fmc)
MODULE_VERSION
(
GIT_VERSION
);
MODULE_LICENSE
(
"GPL"
);
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