summaryrefslogtreecommitdiff
path: root/package/grep/grep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/grep/grep.mk')
-rw-r--r--package/grep/grep.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk
index 6e909c9a8..4b443ac36 100644
--- a/package/grep/grep.mk
+++ b/package/grep/grep.mk
@@ -71,3 +71,11 @@ grep-clean:
grep-dirclean:
rm -rf $(GNUGREP_DIR)
+#############################################################
+#
+# Toplevel Makefile options
+#
+#############################################################
+ifeq ($(strip $(BR2_PACKAGE_GREP)),y)
+TARGETS+=grep
+endif