summaryrefslogtreecommitdiffstats
path: root/meta-egvirt/recipes-kernel/kernel-module-virtio-can/files/Kbuild
blob: 6d9712b866ff46f4f41258aa8d1f8c5ce32f98c2 (plain)
1
2
3
4
5
6
7
# --dirty to mark version with uncommitted changes as dirty
GIT_VERSION = $(shell git -C "$(MODULE_GIT_REPOSITORY_DIR)" describe --tags --dirty | sed 's/^v//')
ccflags-y += -DDRIVER_VERSION=\"$(GIT_VERSION)\"

ccflags-y += -Werror

obj-m := virtio_can.o