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>
This commit is contained in:
parent
a1b9256d37
commit
8cb59e6585
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user