Makefiles: If both KDIR and KVER have been set, preserve KDIR

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9052 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2020-07-19 00:00:49 +00:00
parent 52ee6089f5
commit cf909e3e16
10 changed files with 30 additions and 10 deletions
+3 -1
View File
@@ -46,7 +46,9 @@ ifeq ($(KVER),)
make -s -C $(KDIR) kernelversion))
endif
else
KDIR := /lib/modules/$(KVER)/build
ifeq ($(KDIR),)
KDIR := /lib/modules/$(KVER)/build
endif
endif
ifeq ($(INSTALL_MOD_PATH),)