Skip to contentSkip to conversation

Remove spurious POST_UNINSTALL hook usage

PATCH New spdawson at gmail.com 2 participants 2 messages May 19, 2013 – May 26, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove spurious POST_UNINSTALL hook usage

From: Simon Dawson <[email protected]>

A couple of patches make use of XXX_POST_UNINSTALL_TARGET_HOOKS, which is not a hook set that Buildroot actually supports.

---
 package/ccid/ccid.mk       |  7 -------
 package/xenomai/xenomai.mk | 10 ----------
 2 files changed, 17 deletions(-)
package/ccid/ccid.mk +0 -7
index a9e58d1..51c3887 100644
@@ -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))
package/xenomai/xenomai.mk +0 -10
index fbf20b5..720b22d 100644
@@ -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))
Signature · 1 line
1.8.1.2
#1 lore raw

PATCH 1/1 Remove spurious POST_UNINSTALL hook usage

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"spdawson" == spdawson <[email protected]> writes:

spdawson> From: Simon Dawson <[email protected]>

spdawson> A couple of patches make use of
spdawson> XXX_POST_UNINSTALL_TARGET_HOOKS, which is not a hook set that spdawson> Buildroot actually supports.

Committed to next, thanks.

Signature · 1 line
Bye, Peter Korsgaard