From 570c3c1cecc65de44e59eea8f68a93aeffc9f11e Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Sat, 3 Apr 2021 18:45:20 +0200 Subject: [PATCH] Makefile: Use kernel source symlink from `/lib/modules` Signed-off-by: Kai Krakow --- hid-xpadneo/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hid-xpadneo/Makefile b/hid-xpadneo/Makefile index 74a8d8ed..7b3835ae 100644 --- a/hid-xpadneo/Makefile +++ b/hid-xpadneo/Makefile @@ -1,4 +1,4 @@ -KERNEL_SOURCE_DIR := /usr/src/linux +KERNEL_SOURCE_DIR := /lib/modules/$(shell uname -r)/source LD := ld.bfd all: modules