summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Dawson <spdawson@gmail.com>2013-05-19 09:58:12 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-05-26 20:49:38 (GMT)
commit8cb59e6585b6d1f87e3418418796f15dfdbdbce3 (patch)
tree1b80528fd7e24f136de9c6447edeafce937a0e84
parenta1b9256d376dd74ec7441d701510995cde3e0042 (diff)
downloadbuildroot-8cb59e6585b6d1f87e3418418796f15dfdbdbce3.tar.gz
buildroot-8cb59e6585b6d1f87e3418418796f15dfdbdbce3.tar.bz2
Remove spurious POST_UNINSTALL hook usage
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>
-rw-r--r--package/ccid/ccid.mk7
-rw-r--r--package/xenomai/xenomai.mk10
2 files changed, 0 insertions, 17 deletions
diff --git a/package/ccid/ccid.mk b/package/ccid/ccid.mk
index a9e58d1..51c3887 100644
--- a/package/ccid/ccid.mk
+++ b/package/ccid/ccid.mk
@@ -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))
diff --git a/package/xenomai/xenomai.mk b/package/xenomai/xenomai.mk
index fbf20b5..720b22d 100644
--- a/package/xenomai/xenomai.mk
+++ b/package/xenomai/xenomai.mk
@@ -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))