mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Add uninstall makefile target.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@430 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -16,3 +16,6 @@ extraclean:
|
||||
install:
|
||||
$(MAKE) -C linux-2.6 install
|
||||
|
||||
uninstall:
|
||||
$(MAKE) -C linux-2.6 uninstall
|
||||
|
||||
|
||||
@@ -85,3 +85,14 @@ else
|
||||
.PHONY: Module.symvers
|
||||
endif
|
||||
|
||||
KVER := $(shell cat ${LINUX}/.kernelrelease 2> /dev/null )
|
||||
ifeq ($(KVER),)
|
||||
KVER := $(shell cat ${LINUX}/include/config/kernel.release 2> /dev/null )
|
||||
endif
|
||||
|
||||
uninstall:
|
||||
rm -f /lib/modules/${KVER}/extra/isp_mod.ko
|
||||
rm -f /lib/modules/${KVER}/extra/isp_scst.ko
|
||||
-/sbin/depmod -a ${KVER}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user