Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Z
ZIO
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
1
Merge Requests
1
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
ZIO
Commits
e7d9efb7
Commit
e7d9efb7
authored
Jul 28, 2021
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not build on warning
Signed-off-by:
federico.vaga@cern.ch
<
federico.vaga@cern.ch
>
parent
52bdb810
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
Kbuild
drivers/zio/Kbuild
+1
-0
Makefile
tools/Makefile
+1
-1
No files found.
drivers/zio/Kbuild
View file @
e7d9efb7
...
@@ -31,5 +31,6 @@ ccflags-y += -DADDITIONAL_VERSIONS="$(SUBMODULE_VERSIONS)"
...
@@ -31,5 +31,6 @@ ccflags-y += -DADDITIONAL_VERSIONS="$(SUBMODULE_VERSIONS)"
# WARNING: the line below doesn't work in-kernel if you compile with O=
# WARNING: the line below doesn't work in-kernel if you compile with O=
ccflags-y += -I$(src)/../../include/ -DGIT_VERSION=\"$(GIT_VERSION)\"
ccflags-y += -I$(src)/../../include/ -DGIT_VERSION=\"$(GIT_VERSION)\"
ccflags-y += -Werror
ccflags-y += $(ZIO_VERSION)
ccflags-y += $(ZIO_VERSION)
ccflags-$(CONFIG_ZIO_DEBUG) += -DDEBUG
ccflags-$(CONFIG_ZIO_DEBUG) += -DDEBUG
tools/Makefile
View file @
e7d9efb7
...
@@ -10,7 +10,7 @@ ZIO_VERSION := -D__ZIO_MAJOR_VERSION=$(shell echo $(GIT_VERSION) | cut -d '-' -f
...
@@ -10,7 +10,7 @@ ZIO_VERSION := -D__ZIO_MAJOR_VERSION=$(shell echo $(GIT_VERSION) | cut -d '-' -f
ZIO_VERSION
+=
-D__ZIO_MINOR_VERSION
=
$(
shell
echo
$(GIT_VERSION)
|
cut
-d
'-'
-f
1 |
cut
-d
'.'
-f
2
;
)
ZIO_VERSION
+=
-D__ZIO_MINOR_VERSION
=
$(
shell
echo
$(GIT_VERSION)
|
cut
-d
'-'
-f
1 |
cut
-d
'.'
-f
2
;
)
ZIO_VERSION
+=
-D__ZIO_PATCH_VERSION
=
$(
shell
echo
$(GIT_VERSION)
|
cut
-d
'-'
-f
1 |
cut
-d
'.'
-f
3
;
)
ZIO_VERSION
+=
-D__ZIO_PATCH_VERSION
=
$(
shell
echo
$(GIT_VERSION)
|
cut
-d
'-'
-f
1 |
cut
-d
'.'
-f
3
;
)
CFLAGS
=
-I
$(M)
/include/
-Wall
$(ZIO_VERSION)
$(EXTRACFLAGS)
CFLAGS
=
-I
$(M)
/include/
-Wall
-Werror
$(ZIO_VERSION)
$(EXTRACFLAGS)
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
CC
?=
$(CROSS_COMPILE)
gcc
CC
?=
$(CROSS_COMPILE)
gcc
...
...
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