The 3.17 path will now only build a driver named "hid-wacom.ko" if the driver is installed on RHEL 7.4 or RHEL 7.5. Thus, we shouldn't fail "make uninstall" if the "wacom.ko" that we normally build into the "extra" directory is missing.
Also make sure we remove "hid-wacom.ko" on uninstall, and also don't fail if it is missing as most other distributions will not build it. Signed-off-by: Aaron Armstrong Skomra<sko...@gmail.com> --- 3.17/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/3.17/Makefile.in b/3.17/Makefile.in index addd0dfced43..b3683b77086b 100644 --- a/3.17/Makefile.in +++ b/3.17/Makefile.in @@ -54,8 +54,9 @@ uninstall: @# which causes trouble for tools like 'rm' which don't @# see the path how you might think. As a workaround, @# first cd into the directory and then remove. - cd $(WCM_KERNEL_DIR)/../extra; rm wacom.ko* + cd $(WCM_KERNEL_DIR)/../extra; rm -f wacom.ko* cd $(WCM_KERNEL_DIR)/../extra; rm wacom_w8001.ko* + cd $(WCM_KERNEL_DIR)/../extra; rm -f hid-wacom.ko* rm -f /etc/depmod.d/input-wacom.conf PATH="$(PATH):/bin:/sbin" depmod -a $(MODUTS) ifdef UPDATE_INITRAMFS -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel