Commit 9a1d7b79 authored by Adam Wujek's avatar Adam Wujek 💬

kernel: Make build working

--export FMC_DRV
--correct passing GIT_VERSION
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 040c0cdb
...@@ -4,7 +4,10 @@ LINUX ?= /lib/modules/$(shell uname -r)/build ...@@ -4,7 +4,10 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
FMC_BUS ?= $(shell pwd)/../fmc-bus/ FMC_BUS ?= $(shell pwd)/../fmc-bus/
FMC_DRV ?= $(FMC_BUS)/kernel/ FMC_DRV ?= $(FMC_BUS)/kernel/
GIT_VERSION = $(shell cd $(src); git describe --dirty --long --tags) export FMC_DRV
GIT_VERSION = $(shell git describe --dirty --long --tags)
export GIT_VERSION
all modules: all modules:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules $(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules
......
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