blob: c27a26f71911b759c4bca1a9a4496ec8d1f7e7c9 [file] [log] [blame]
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