Skip to content
Snippets Groups Projects
Commit 39b5a46d authored by federico.vaga@cern.ch's avatar federico.vaga@cern.ch
Browse files

make devices, buffers and triggers optional


Signed-off-by: default avatarfederico.vaga@cern.ch <federico.vaga@cern.ch>
parent f6e164da
No related merge requests found
...@@ -9,9 +9,9 @@ CONFIG_ZIO_SNIFF_DEV:=y ...@@ -9,9 +9,9 @@ CONFIG_ZIO_SNIFF_DEV:=y
zio-$(CONFIG_ZIO_SNIFF_DEV) += sniff-dev.o zio-$(CONFIG_ZIO_SNIFF_DEV) += sniff-dev.o
obj-m = zio.o obj-m = zio.o
obj-m += devices/ obj-$(CONFIG_ZIO_DEVICES) += devices/
obj-m += buffers/ obj-$(CONFIG_ZIO_BUFFERS) += buffers/
obj-m += triggers/ obj-$(CONFIG_ZIO_TRIGGERS) += triggers/
# src is defined byt the kernel Makefile, but we want to use it also in our # src is defined byt the kernel Makefile, but we want to use it also in our
# local Makefile (tools, lib) # local Makefile (tools, lib)
......
...@@ -16,6 +16,14 @@ ZIO_VERSION += -D__ZIO_PATCH_VERSION=$(shell echo $(GIT_VERSION) | cut -d '-' -f ...@@ -16,6 +16,14 @@ ZIO_VERSION += -D__ZIO_PATCH_VERSION=$(shell echo $(GIT_VERSION) | cut -d '-' -f
export GIT_VERSION export GIT_VERSION
export ZIO_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 all: modules
modules coccicheck modules_install: modules coccicheck modules_install:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment