mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 04:31:26 +00:00
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:
@@ -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),)
|
||||
|
||||
@@ -34,7 +34,9 @@ ifeq ($(KVER),)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
ifeq ($(KDIR),)
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(INSTALL_MOD_PATH),)
|
||||
|
||||
@@ -35,7 +35,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),)
|
||||
|
||||
@@ -44,7 +44,9 @@ ifeq ($(KVER),)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
ifeq ($(KDIR),)
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(INSTALL_MOD_PATH),)
|
||||
|
||||
@@ -34,7 +34,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),)
|
||||
|
||||
@@ -43,7 +43,9 @@ ifeq ($(KVER),)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
ifeq ($(KDIR),)
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(INSTALL_MOD_PATH),)
|
||||
|
||||
@@ -45,7 +45,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),)
|
||||
|
||||
@@ -39,7 +39,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),)
|
||||
|
||||
@@ -20,7 +20,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),)
|
||||
|
||||
@@ -22,7 +22,9 @@ ifeq ($(KVER),)
|
||||
endif
|
||||
endif
|
||||
else
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
ifeq ($(KDIR),)
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(INSTALL_MOD_PATH),)
|
||||
|
||||
Reference in New Issue
Block a user