From f8e64cb0858afabcbcccb18e77ca9902c8280e01 Mon Sep 17 00:00:00 2001 From: John Ogness Date: Fri, 15 Feb 2019 12:53:02 +0106 Subject: schulung_tools: hellodriver: set to find Debian kernel build The default build directory needed manual adjustment when the driver was to be built. Change it to use the Debian build path so this driver can be built immediately for the native Debian system without any changes. Signed-off-by: John Ogness --- schulung_tools/drivers/modules/hellodriver/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schulung_tools/drivers/modules/hellodriver/Makefile b/schulung_tools/drivers/modules/hellodriver/Makefile index a0878d9..764fefd 100644 --- a/schulung_tools/drivers/modules/hellodriver/Makefile +++ b/schulung_tools/drivers/modules/hellodriver/Makefile @@ -1,5 +1,5 @@ MNAME = hello -BDIR = /home/devel/work/build-linux +BDIR = /lib/modules/`uname -r`/build ifeq ($(KERNELRELEASE),) # called from shell -- cgit v1.2.3