From c5cc3f27810353ee1db8f470effb239ef1e6e492 Mon Sep 17 00:00:00 2001 From: VZ Cambria Date: Fri, 30 Dec 2016 11:58:56 -0500 Subject: [PATCH] Fixed Makefile to build properly --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b199997..cea6d11 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,8 @@ obj-m := $(TARGET).o else -KERNELDIR ?= /usr/src/linux +#KERNELDIR ?= /usr/src/linux +KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: -- 2.44.0