Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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 DEL 1ns 4cha
Commits
2ccfa7ad
Commit
2ccfa7ad
authored
Sep 09, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
drv: pass variable to Kbuild instead of export
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
a1a27939
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Kbuild
kernel/Kbuild
+1
-2
Makefile
kernel/Makefile
+3
-3
No files found.
kernel/Kbuild
View file @
2ccfa7ad
KBUILD_EXTRA_SYMBOLS := \
$(ZIO_ABS)/Module.symvers
KBUILD_EXTRA_SYMBOLS += $(ZIO_EXTRA_SYMBOLS-y)
# add versions of supermodule. It is useful when fine-delay-sw is included as sub-module
# of a bigger project that we want to track
...
...
kernel/Makefile
View file @
2ccfa7ad
...
...
@@ -8,18 +8,18 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
ZIO
?=
../zio
# ZIO_ABS has to be absolut path, due to beeing
# passed to the Kbuild
ZIO_ABS
?=
$
(
abspath
$(ZIO)
)
ZIO_EXTRA_SYMBOLS-y
=
$(ZIO_ABS)
/Module.symvers
GIT_VERSION
=
$(
shell
git describe
--dirty
--long
--tags
)
ZIO_VERSION
?=
$(
shell
cd
$(ZIO_ABS)
;
git describe
--always
--dirty
--long
--tags
)
export
ZIO_VERSION
all modules
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
\
ZIO_ABS
=
$(ZIO_ABS)
\
ZIO_EXTRA_SYMBOLS-y
=
$
(
ZIO_EXTRA_SYMBOLS-y
)
\
ZIO_VERSION
=
$(ZIO_VERSION)
\
VERSION
=
$(GIT_VERSION)
\
modules
...
...
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