mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 12:46:27 +00:00
Add KVER make parameter and remove Module{,s}.symvers on clean.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@451 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
+5
-1
@@ -1,5 +1,9 @@
|
||||
ifndef KVER
|
||||
KVER = $(shell uname -r)
|
||||
endif
|
||||
|
||||
ifndef KDIR
|
||||
KDIR := /lib/modules/$(shell uname -r)/build
|
||||
KDIR := /lib/modules/$(KVER)/build
|
||||
endif
|
||||
|
||||
export KDIR
|
||||
|
||||
@@ -47,7 +47,7 @@ tgt: links Modules.symvers Module.symvers
|
||||
clean:
|
||||
@$(MAKE) -C ${LINUX} M=${CURDIR}/build clean
|
||||
@$(MAKE) -C build clean_links
|
||||
@$(RM) tags
|
||||
@$(RM) tags Modules.symvers Module.symvers
|
||||
|
||||
extraclean: clean
|
||||
|
||||
|
||||
Reference in New Issue
Block a user