From 8cb59e6585b6d1f87e3418418796f15dfdbdbce3 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Sun, 19 May 2013 09:58:12 +0000 Subject: [PATCH] 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 Signed-off-by: Peter Korsgaard --- package/ccid/ccid.mk | 7 ------- package/xenomai/xenomai.mk | 10 ---------- 2 files changed, 17 deletions(-) diff --git a/package/ccid/ccid.mk b/package/ccid/ccid.mk index a9e58d17e5..51c3887fa9 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 fbf20b5a55..720b22d575 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)) -- 2.30.2