summaryrefslogtreecommitdiff
path: root/package/patch/patch.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/patch/patch.mk')
-rw-r--r--package/patch/patch.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/patch/patch.mk b/package/patch/patch.mk
index b7501bb1c..0c66999f1 100644
--- a/package/patch/patch.mk
+++ b/package/patch/patch.mk
@@ -58,3 +58,11 @@ patch-clean:
patch-dirclean:
rm -rf $(GNUPATCH_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_PATCH)),y)
+TARGETS+=patch
+endif