From: Daniel Mack Date: Tue, 19 Aug 2014 11:42:53 +0000 (+0200) Subject: Makefile: export KERNELDIR for tests X-Git-Tag: upstream/0.20140911.160207utc~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97bb86cbc0d3755e9e09ace3077de1b922dea4fc;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git Makefile: export KERNELDIR for tests We include linux/memfd.h now, make sure it's searched for in $KERNELDIR. --- 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)