Browse Source

Revert "- helpers: add patch hooks"

This reverts commit 9bbf8f67bc.
master
vanhofen 4 years ago
parent
commit
33a877e94d
  1. 7
      make/buildsystem-helpers.mk

7
make/buildsystem-helpers.mk

@ -139,9 +139,6 @@ endef
# apply patch sets # apply patch sets
define apply_patches define apply_patches
@$(call MESSAGE,"Patching")
$(foreach hook,$($(PKG)_PRE_PATCH_HOOKS),$(call $(hook))$(sep))
$(Q)( \
l=$(strip $(2)); test -z $$l && l=1; \ l=$(strip $(2)); test -z $$l && l=1; \
for i in $(1); do \ for i in $(1); do \
if [ -e $$i -o -e $(PKG_PATCHES_DIR)/$$i ]; then \ if [ -e $$i -o -e $(PKG_PATCHES_DIR)/$$i ]; then \
@ -163,9 +160,7 @@ define apply_patches
fi; \ fi; \
fi; \ fi; \
fi; \ fi; \
done; \ done
)
$(foreach hook,$($(PKG)_POST_PATCH_HOOKS),$(call $(hook))$(sep))
endef endef
# apply patch sets automatically # apply patch sets automatically

Loading…
Cancel
Save