Commit f8c8ab86 authored by Federico Vaga's avatar Federico Vaga

kernel: fix make file for CSM

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent b3719ab2
......@@ -8,13 +8,6 @@ KBUILD_EXTRA_SYMBOLS := \
GIT_VERSION = $(shell cd $(src); git describe --always --dirty --long --tags)
# For this CSM_VERSION, please see ohwr.org/csm documentation
ifdef CONFIG_CSM_VERSION
ccflags-y += -D"CERN_SUPER_MODULE=MODULE_VERSION(\"$(CONFIG_CSM_VERSION)\")"
else
ccflags-y += -DCERN_SUPER_MODULE=""
endif
ccflags-y = -DGIT_VERSION=\"$(GIT_VERSION)\" \
-I$(src) \
-I$(ZIO)/include \
......@@ -24,6 +17,13 @@ ccflags-y = -DGIT_VERSION=\"$(GIT_VERSION)\" \
-I$(SPEC_SW)/kernel
ccflags-$(CONFIG_FMC_TDC_DEBUG) += -DDEBUG
# For this CSM_VERSION, please see ohwr.org/csm documentation
ifdef CONFIG_CSM_VERSION
ccflags-y += -D"CERN_SUPER_MODULE=MODULE_VERSION(\"$(CONFIG_CSM_VERSION)\")"
else
ccflags-y += -DCERN_SUPER_MODULE=""
endif
subdirs-ccflags-y = $(ccflags-y)
obj-m := fmc-tdc.o
......
Markdown is supported
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