summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: c27a26f71911b759c4bca1a9a4496ec8d1f7e7c9 (plain)
1
2
3
4
5
6
7
8
9
ifneq ($(KERNELRELEASE),)
obj-m += rcuhashbash.o
obj-m += rcuhashbash-resize.o
else
# Build against the current kernel, or use the environment variable KERNELDIR.
KERNELDIR ?= /lib/modules/$(shell uname -r)/build
%:
	$(MAKE) -C $(KERNELDIR) M=$(CURDIR) $@
endif