summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdam Weiss <adam@signal11.com>2015-10-06 17:40:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-10-07 03:26:50 +0200
commit1c19fd0037eab6eb54cba4c656b9c4f557c2708d (patch)
tree655985ac43f72fc20aa97342f04052ad39badf32 /Makefile
parentLittle bit of cleanup (diff)
downloadkernel-routing-table-adam-lc-trie.tar.xz
kernel-routing-table-adam-lc-trie.zip
Import latest changes to testsadam-lc-trie
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ce360e4..cb82f68 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
ifneq ($(KERNELRELEASE),)
obj-m := lctrie.o
-ccflags-y += -DDEBUG -g -DGIT_REVISION="KBUILD_STR($(shell git --git-dir="$(M)/.git" rev-parse --short HEAD))"
+ccflags-y += -DDEBUG -g -DGIT_REVISION="KBUILD_STR($(shell git --git-dir="$(M)/.git" rev-parse --abbrev-ref HEAD):$(shell git --git-dir="$(M)/.git" rev-parse --short HEAD))"
lctrie-y := main.o routing-table.o klctrie.o
else
KERNELDIR ?= /lib/modules/$(shell uname -r)/build