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
39b5a46d
Commit
39b5a46d
authored
Apr 15, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make devices, buffers and triggers optional
Signed-off-by:
federico.vaga@cern.ch
<
federico.vaga@cern.ch
>
parent
f6e164da
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
Kbuild
drivers/zio/Kbuild
+3
-3
Makefile
drivers/zio/Makefile
+8
-0
No files found.
drivers/zio/Kbuild
View file @
39b5a46d
...
...
@@ -9,9 +9,9 @@ CONFIG_ZIO_SNIFF_DEV:=y
zio-$(CONFIG_ZIO_SNIFF_DEV) += sniff-dev.o
obj-m = zio.o
obj-
m
+= devices/
obj-
m
+= buffers/
obj-
m
+= triggers/
obj-
$(CONFIG_ZIO_DEVICES)
+= devices/
obj-
$(CONFIG_ZIO_BUFFERS)
+= buffers/
obj-
$(CONFIG_ZIO_TRIGGERS)
+= triggers/
# src is defined byt the kernel Makefile, but we want to use it also in our
# local Makefile (tools, lib)
...
...
drivers/zio/Makefile
View file @
39b5a46d
...
...
@@ -16,6 +16,14 @@ ZIO_VERSION += -D__ZIO_PATCH_VERSION=$(shell echo $(GIT_VERSION) | cut -d '-' -f
export
GIT_VERSION
export
ZIO_VERSION
CONFIG_ZIO_DEVICES
?=
m
CONFIG_ZIO_BUFFERS
?=
m
CONFIG_ZIO_TRIGGERS
?=
m
export
CONFIG_ZIO_DEVICES
export
CONFIG_ZIO_BUFFERS
export
CONFIG_ZIO_TRIGGERS
all
:
modules
modules coccicheck modules_install
:
...
...
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