From cdb978150491399f9c7ed7ec15b37ad6e8fcf77d Mon Sep 17 00:00:00 2001 From: Benjamin Braatz Date: Wed, 1 Feb 2023 05:21:01 +0100 Subject: [PATCH] Allow selection of different Kernel than currently running. --- modules/rtc-unipi/Makefile | 2 +- modules/unipi/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rtc-unipi/Makefile b/modules/rtc-unipi/Makefile index 350a952..212d89e 100644 --- a/modules/rtc-unipi/Makefile +++ b/modules/rtc-unipi/Makefile @@ -2,7 +2,7 @@ # filesystems (notably VirtualBox vmfs); therefore we allow using /run/ through the 'symlink' target, # if necessary. -LINUX_DIR_PATH = /lib/modules/$(shell uname -r)/build +LINUX_DIR_PATH ?= /lib/modules/$(shell uname -r)/build ifdef CCPREFIX CCPAR = CROSS_COMPILE=${CCPREFIX} endif diff --git a/modules/unipi/Makefile b/modules/unipi/Makefile index 68b8e0e..342067c 100644 --- a/modules/unipi/Makefile +++ b/modules/unipi/Makefile @@ -2,7 +2,7 @@ # filesystems (notably VirtualBox vmfs); therefore we allow using /run/ through the 'symlink' target, # if necessary. -LINUX_DIR_PATH = /lib/modules/$(shell uname -r)/build +LINUX_DIR_PATH ?= /lib/modules/$(shell uname -r)/build ifdef CCPREFIX CCPAR = CROSS_COMPILE=${CCPREFIX} endif -- 2.34.1