Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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
Commits
53ed8f3a
Commit
53ed8f3a
authored
Sep 09, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dist: build dkms dependencies first
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
991bb139
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
5 deletions
+28
-5
dkms.conf
distribution/dkms.conf
+8
-5
Makefile
software/kernel/Makefile
+20
-0
No files found.
distribution/dkms.conf
View file @
53ed8f3a
PACKAGE_NAME
=
"@PKGNAME@"
PACKAGE_NAME
=
"@PKGNAME@"
PACKAGE_VERSION
=
"@PKGVER@"
PACKAGE_VERSION
=
"@PKGVER@"
CLEAN
=
"make clean"
CLEAN
=
"make
KVERSION=$kernelver DKMSTREE=$dkms_tree DKMS=1
clean"
MAKE
[
0
]=
"make KVERSION=$kernelver all"
MAKE
[
0
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
1
]=
"make KVERSION=$kernelver all"
MAKE
[
1
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
2
]=
"make KVERSION=$kernelver all"
MAKE
[
2
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
MAKE
[
3
]=
"make KVERSION=$kernelver all"
MAKE
[
3
]=
"make KVERSION=$kernelver
DKMSTREE=$dkms_tree DKMS=1
all"
BUILT_MODULE_NAME
[
0
]=
"@PKGNAME@"
BUILT_MODULE_NAME
[
0
]=
"@PKGNAME@"
BUILT_MODULE_NAME
[
1
]=
"gn412x-gpio"
BUILT_MODULE_NAME
[
1
]=
"gn412x-gpio"
BUILT_MODULE_NAME
[
2
]=
"gn412x-fcl"
BUILT_MODULE_NAME
[
2
]=
"gn412x-fcl"
...
@@ -13,4 +13,7 @@ DEST_MODULE_LOCATION[0]="/updates"
...
@@ -13,4 +13,7 @@ DEST_MODULE_LOCATION[0]="/updates"
DEST_MODULE_LOCATION
[
1
]=
"/updates"
DEST_MODULE_LOCATION
[
1
]=
"/updates"
DEST_MODULE_LOCATION
[
2
]=
"/updates"
DEST_MODULE_LOCATION
[
2
]=
"/updates"
DEST_MODULE_LOCATION
[
3
]=
"/updates"
DEST_MODULE_LOCATION
[
3
]=
"/updates"
BUILD_DEPENDS
[
0
]=
"fmc"
BUILD_DEPENDS
[
1
]=
"fpga_mgr"
BUILD_DEPENDS
[
2
]=
"i2c-ocores"
AUTOINSTALL
=
"yes"
AUTOINSTALL
=
"yes"
software/kernel/Makefile
View file @
53ed8f3a
...
@@ -9,6 +9,26 @@ LINUX ?= /lib/modules/$(KVERSION)/build
...
@@ -9,6 +9,26 @@ LINUX ?= /lib/modules/$(KVERSION)/build
TOP_DIR
?=
$(
shell
pwd
)
/../..
TOP_DIR
?=
$(
shell
pwd
)
/../..
HDL_DIR
?=
$(TOP_DIR)
/hdl
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)
)
CONFIG_FPGA_MGR_BACKPORT_PATH_ABS
?=
$
(
abspath
$(CONFIG_FPGA_MGR_BACKPORT_PATH)
)
FMC_ABS
?=
$
(
abspath
$(FMC)
)
FMC_ABS
?=
$
(
abspath
$(FMC)
)
...
...
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