Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC ADC 100M 14b 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
Commits
f095752e
Commit
f095752e
authored
Nov 18, 2020
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bld: fix dkms package
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
e702c719
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Makefile
distribution/Makefile
+4
-1
No files found.
distribution/Makefile
View file @
f095752e
...
...
@@ -21,10 +21,13 @@ dkms-tree:
dkms-src
:
dkms-tree
$
(
eval
$@
_dir :
=
$(BUILD_DKMSSOURCE)
/
$(DRIVER_NAME)
-
$(VERSION)
)
$
(
eval
$@
_src :
=
$(
shell
git ls-tree
-r
--name-only
HEAD
$(TOP_DIR)
/software/kernel/
)
)
$
(
eval
$@
_src :
=
$(
shell
git ls-tree
-r
--name-only
HEAD
$(TOP_DIR)
/software/kernel/
*
.[ch]
)
)
@
mkdir
-p
$
(
$@
_dir
)
@
cp
$(TOP_DIR)
/distribution/dkms.conf
$
(
$@
_dir
)
@
cp
$(TOP_DIR)
/distribution/fmc-adc-100m14b4ch-dkms-mkrpm.spec
$
(
$@
_dir
)
@
mkdir
$
(
$@
_dir
)
/platform_data
@
cp
$(TOP_DIR)
/software/kernel/platform_data/
*
$
(
$@
_dir
)
/platform_data/
@
cp
$(TOP_DIR)
/software/kernel/Makefile
$(TOP_DIR)
/software/kernel/Kbuild
$
(
$@
_dir
)
@
cp
$
(
$@
_src
)
$
(
$@
_dir
)
@
cp
$(TOP_DIR)
/LICENSES/GPL-2.0-or-later.txt
$
(
$@
_dir
)
/LICENSE
@
sed
-r
-i
-e
"s/^GIT_VERSION
\s
=
\s
.*/GIT_VERSION =
$(VERSION)
/"
$
(
$@
_dir
)
/Makefile
...
...
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