From 97bb86cbc0d3755e9e09ace3077de1b922dea4fc Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Tue, 19 Aug 2014 13:42:53 +0200 Subject: [PATCH] Makefile: export KERNELDIR for tests We include linux/memfd.h now, make sure it's searched for in $KERNELDIR. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b334cee..92c4043 100644 --- 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) -- 2.34.1