Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
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
Commits
8886d2ce
Commit
8886d2ce
authored
Dec 08, 2017
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel: port to FPGA manager
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
5f02e794
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
104 additions
and
367 deletions
+104
-367
Kbuild
kernel/Kbuild
+2
-1
Makefile
kernel/Makefile
+3
-1
svec-core.c
kernel/svec-core.c
+99
-365
No files found.
kernel/Kbuild
View file @
8886d2ce
...
@@ -9,9 +9,10 @@ endif
...
@@ -9,9 +9,10 @@ endif
ccflags-y += -DADDITIONAL_VERSIONS="$(SUBMODULE_VERSIONS)"
ccflags-y += -DADDITIONAL_VERSIONS="$(SUBMODULE_VERSIONS)"
ccflags-y += -DGIT_VERSION=\"$(GIT_VERSION)\"
ccflags-y += -DGIT_VERSION=\"$(GIT_VERSION)\"
ccflags-y += -I$(VMEBRIDGE_ABS)/include
ccflags-y += -I$(VMEBRIDGE_ABS)/include
-I$(FPGA_MGR_ABS)/include
KBUILD_EXTRA_SYMBOLS += $(VMEBRIDGE_ABS)/driver/Module.symvers
KBUILD_EXTRA_SYMBOLS += $(VMEBRIDGE_ABS)/driver/Module.symvers
KBUILD_EXTRA_SYMBOLS += $(FPGA_MGR_ABS)/drivers/fpga/Module.symvers
obj-m := svec.o
obj-m := svec.o
...
...
kernel/Makefile
View file @
8886d2ce
...
@@ -7,6 +7,8 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
...
@@ -7,6 +7,8 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
VMEBRIDGE_ABS
?=
$
(
abspath
$(VMEBRIDGE)
)
VMEBRIDGE_ABS
?=
$
(
abspath
$(VMEBRIDGE)
)
FPGA_MGR_ABS
?=
$
(
abspath
$(FPGA_MGR)
)
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
export
GIT_VERSION
export
GIT_VERSION
...
@@ -15,7 +17,7 @@ all: modules
...
@@ -15,7 +17,7 @@ all: modules
.PHONY
:
all modules clean help install modules_install
.PHONY
:
all modules clean help install modules_install
modules help install modules_install
:
modules help install modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
GIT_VERSION
=
$(GIT_VERSION)
VMEBRIDGE_ABS
=
$(VMEBRIDGE_ABS)
$@
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
GIT_VERSION
=
$(GIT_VERSION)
VMEBRIDGE_ABS
=
$(VMEBRIDGE_ABS)
FPGA_MGR_ABS
=
$(FPGA_MGR_ABS)
$@
# be able to run the "clean" rule even if $(LINUX) is not valid
# be able to run the "clean" rule even if $(LINUX) is not valid
clean
:
clean
:
...
...
kernel/svec-core.c
View file @
8886d2ce
This diff is collapsed.
Click to expand it.
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