Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Simple PCIe FMC carrier SPEC
Manage
Activity
Members
Labels
Plan
Issues
50
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
Simple PCIe FMC carrier SPEC
Commits
53ed8f3a
Commit
53ed8f3a
authored
5 years ago
by
Federico Vaga
Browse files
Options
Downloads
Patches
Plain Diff
dist: build dkms dependencies first
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
991bb139
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
distribution/dkms.conf
+8
-5
8 additions, 5 deletions
distribution/dkms.conf
software/kernel/Makefile
+20
-0
20 additions, 0 deletions
software/kernel/Makefile
with
28 additions
and
5 deletions
distribution/dkms.conf
+
8
−
5
View file @
53ed8f3a
PACKAGE_NAME
=
"@PKGNAME@"
PACKAGE_VERSION
=
"@PKGVER@"
CLEAN
=
"make clean"
MAKE
[
0
]=
"make KVERSION=$kernelver all"
MAKE
[
1
]=
"make KVERSION=$kernelver all"
MAKE
[
2
]=
"make KVERSION=$kernelver all"
MAKE
[
3
]=
"make KVERSION=$kernelver all"
CLEAN
=
"make
KVERSION=$kernelver DKMSTREE=$dkms_tree DKMS=1
clean"
MAKE
[
0
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
1
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
2
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
3
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
BUILT_MODULE_NAME
[
0
]=
"@PKGNAME@"
BUILT_MODULE_NAME
[
1
]=
"gn412x-gpio"
BUILT_MODULE_NAME
[
2
]=
"gn412x-fcl"
...
...
@@ -13,4 +13,7 @@ DEST_MODULE_LOCATION[0]="/updates"
DEST_MODULE_LOCATION
[
1
]=
"/updates"
DEST_MODULE_LOCATION
[
2
]=
"/updates"
DEST_MODULE_LOCATION
[
3
]=
"/updates"
BUILD_DEPENDS
[
0
]=
"fmc"
BUILD_DEPENDS
[
1
]=
"fpga_mgr"
BUILD_DEPENDS
[
2
]=
"i2c-ocores"
AUTOINSTALL
=
"yes"
This diff is collapsed.
Click to expand it.
software/kernel/Makefile
+
20
−
0
View file @
53ed8f3a
...
...
@@ -9,6 +9,26 @@ LINUX ?= /lib/modules/$(KVERSION)/build
TOP_DIR
?=
$(
shell
pwd
)
/../..
HDL_DIR
?=
$(
TOP_DIR
)
/hdl
DKMS
?=
0
ifndef
(CONFIG_FPGA_MGR_BACKPORT)
ifeq
($(shell test $(shell uname -p) \> "4.4"), 0)
CONFIG_FPGA_MGR_BACKPORT
:=
n
else
CONFIG_FPGA_MGR_BACKPORT
:=
y
endif
endif
ifeq
($(DKMS), 1)
FPGA_MGR_VERSION
?=
$(
shell
basename
$(
shell
ls
-d
$(
DKMSTREE
)
/fpga_mgr/
*
|
grep
-E
"
\/
[0-9]+
\.
[0-9]+
\.
[0-9]+"
|
sort
-V
|
tail
-n
1
))
FMC_VERSION
?=
$(
shell
basename
$(
shell
ls
-d
$(
DKMSTREE
)
/fmc/
*
|
grep
-E
"
\/
[0-9]+
\.
[0-9]+
\.
[0-9]+"
|
sort
-V
|
tail
-n
1
))
I2C_VERSION
?=
$(
shell
basename
$(
shell
ls
-d
$(
DKMSTREE
)
/i2c-ocores/
*
|
grep
-E
"
\/
[0-9]+
\.
[0-9]+
\.
[0-9]+"
|
sort
-V
|
tail
-n
1
))
CONFIG_FPGA_MGR_BACKPORT_PATH
:=
$(
DKMSTREE
)
/fpga_mgr/
$(
FPGA_MGR_VERSION
)
/source
FMC
:=
$(
DKMSTREE
)
/fmc/
$(
FMC_VERSION
)
/source
I2C
:=
$(
DKMSTREE
)
/i2c-ocores/
$(
I2C_VERSION
)
/source
endif
CONFIG_FPGA_MGR_BACKPORT_PATH_ABS
?=
$(
abspath
$(
CONFIG_FPGA_MGR_BACKPORT_PATH
))
FMC_ABS
?=
$(
abspath
$(
FMC
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment