nbd: Fix using zero offset and length for REQ_FLUSH properly
[nbd-module.git] / Makefile
1 ifneq ($(KERNELRELEASE),)
2 # kbuild part of makefile
3 obj-m := nbd.o
4 ccflags-y := -DNBD_OUTOFTREE
5
6 else
7
8 # normal makefile
9 KDIR ?= /lib/modules/`uname -r`/build
10
11 default:
12         $(MAKE) -C $(KDIR) M=$$PWD
13
14 endif