Makefile: 'unsinstall' target: remove kdbus.ko from both locations
authorDaniel Mack <daniel@zonque.org>
Mon, 29 Sep 2014 18:58:55 +0000 (20:58 +0200)
committerDaniel Mack <daniel@zonque.org>
Mon, 29 Sep 2014 18:58:55 +0000 (20:58 +0200)
Remote kdbus.ko from both the old and the new location to avoid load
time confusion.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Makefile

index 6d0578b4eefb0e056bfbeb818eb224afb7a987e3..b6f14d8bc637af529444fb5e46b8d47d1c01a7eb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -49,6 +49,7 @@ install: module
 
 uninstall:
        rm -f /lib/modules/$(KERNELVER)/kernel/drivers/kdbus/kdbus$(EXT).ko
+       rm -f /lib/modules/$(KERNELVER)/kernel/drivers/misc/kdbus/kdbus$(EXT).ko
 
 coccicheck:
        $(MAKE) -C $(KERNELDIR) M=$(PWD) coccicheck