Out of tree builds use local include file
[nbd-module.git] / Makefile
index 10f82f8..f4e3cd8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,7 @@
 ifneq ($(KERNELRELEASE),)
 # kbuild part of makefile
-obj-m  := nbd.o
+obj-m := nbd.o
+ccflags-y := -DNBD_OUTOFTREE
 
 else