Commit f79fdc6c authored by Federico Vaga's avatar Federico Vaga

Makefile: use kbuild variable 'src' instead of 'M' variable

The Kbuild writesin 'src' the correct path to the source code automatically.
This avoid us to explicitly write 'M' variable
Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
Acked-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 2556ade2
......@@ -8,7 +8,7 @@ KBUILD_EXTRA_SYMBOLS := $(FMC_DRV)/Module.symvers
GIT_VERSION = $(shell cd $(src); git describe --dirty --long --tags)
ccflags-y += -I$M/include -I$(FMC_DRV)/include
ccflags-y += -I$(src)/include -I$(FMC_DRV)/include
ccflags-y += $(WR_NIC_CFLAGS)
ccflags-y += -DGIT_VERSION=\"$(GIT_VERSION)\"
......
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