Makefile: export KERNELDIR for tests
authorDaniel Mack <zonque@gmail.com>
Tue, 19 Aug 2014 11:42:53 +0000 (13:42 +0200)
committerDaniel Mack <zonque@gmail.com>
Tue, 19 Aug 2014 11:42:53 +0000 (13:42 +0200)
We include linux/memfd.h now, make sure it's searched for in $KERNELDIR.

Makefile

index b334cee830903372bd2572c15526d2dceecb5284..92c404377bd3321e45d40bbb4718344e08acf835 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ PWD                   := $(shell pwd)
 all: module test
 
 test::
-       $(MAKE) -C test KBUILD_MODNAME=kdbus$(EXT)
+       $(MAKE) -C test KERNELDIR=$(KERNELDIR) KBUILD_MODNAME=kdbus$(EXT)
 
 module:
        $(MAKE) -C $(KERNELDIR) M=$(PWD)