summaryrefslogtreecommitdiff
path: root/backport/Makefile.real
diff options
context:
space:
mode:
authorASIC Felix <ic.felix@gmail.com>2013-06-20 22:02:52 -0700
committerLuis R. Rodriguez <mcgrof@do-not-panic.com>2013-06-26 09:47:39 -0700
commit3740976137324d70c15e140302c7acd08b54652b (patch)
treee342deab1093c4b5db1a8f67c2869b8a6b194874 /backport/Makefile.real
parent4d10c25d67504c10289d78e000ff46308f5c8064 (diff)
backports: re-introduce make uninstall
This approach only uninstalls modules you have built previously on your current build directory for backports. If this requires adjustments then we'll have to just have to use our own new backports KMODDIR. Signed-off-by: Felix Bitterli <ic.felix@gmail.com> [mcgrof: extended the commit log a bit] Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Diffstat (limited to 'backport/Makefile.real')
-rw-r--r--backport/Makefile.real10
1 files changed, 10 insertions, 0 deletions
diff --git a/backport/Makefile.real b/backport/Makefile.real
index 2a1f640f..c09663c3 100644
--- a/backport/Makefile.real
+++ b/backport/Makefile.real
@@ -101,6 +101,16 @@ install: modules
.PHONY: modules_install
modules_install: install
+.PHONY: uninstall
+uninstall:
+ @./scripts/uninstall.sh
+ @/sbin/depmod -a
+ @./scripts/update-initramfs.sh $(KLIB)
+ @echo
+ @echo Your backported driver modules should be uninstalled now.
+ @echo Reboot.
+ @echo
+
.PHONY: clean
clean:
@$(MAKE) -f Makefile.build clean