Remove spurious POST_UNINSTALL hook usage
authorSimon Dawson <spdawson@gmail.com>
Sun, 19 May 2013 09:58:12 +0000 (09:58 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 26 May 2013 20:49:38 +0000 (22:49 +0200)
A couple of patches make use of XXX_POST_UNINSTALL_TARGET_HOOKS, which
is not a hook set that Buildroot actually supports.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/ccid/ccid.mk
package/xenomai/xenomai.mk

index a9e58d17e513e61fe857d348bf82f5d63aa44182..51c3887fa9e588f48948974acc8281a3651059f3 100644 (file)
@@ -19,11 +19,4 @@ endef
 CCID_POST_INSTALL_TARGET_HOOKS += CCID_INSTALL_UDEV_RULES
 endif
 
-define CCID_REMOVE_UDEV_RULES
-       if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
-               rm -f $(TARGET_DIR)/etc/udev/rules.d/92_pcscd_ccid.rules ; \
-       fi;
-endef
-CCID_POST_UNINSTALL_TARGET_HOOKS += CCID_REMOVE_UDEV_RULES
-
 $(eval $(autotools-package))
index fbf20b5a555c2012a827d901f5f4159406d605b0..720b22d5754941788b8c7ea6246af03861d31d1e 100644 (file)
@@ -108,14 +108,4 @@ endef
 XENOMAI_POST_INSTALL_TARGET_HOOKS += XENOMAI_INSTALL_UDEV_RULES
 endif # udev
 
-define XENOMAI_REMOVE_UDEV_RULES
-       if test -d $(TARGET_DIR)/etc/udev/rules.d ; then \
-               for f in $(@D)/ksrc/nucleus/udev/*.rules ; do \
-                       rm -f $(TARGET_DIR)/etc/udev/rules.d/$$f ; \
-               done ; \
-       fi;
-endef
-
-XENOMAI_POST_UNINSTALL_TARGET_HOOKS += XENOMAI_REMOVE_UDEV_RULES
-
 $(eval $(autotools-package))