Allow selection of different Kernel than currently running.
authorBenjamin Braatz <bb@bbraatz.eu>
Wed, 1 Feb 2023 04:21:01 +0000 (05:21 +0100)
committerBenjamin Braatz <bb@bbraatz.eu>
Wed, 1 Feb 2023 04:21:01 +0000 (05:21 +0100)
modules/rtc-unipi/Makefile
modules/unipi/Makefile

index 350a9523c12f8b4d5279cc5367f043cf084d9d23..212d89ef87047e574f3a0672d5e41f62b7098acb 100644 (file)
@@ -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
index 68b8e0e97b83767af4dc1503a3a84edec030bb9e..342067c402a2f0c4e73bc3abd10ae75d02457416 100644 (file)
@@ -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