summaryrefslogtreecommitdiff
path: root/package/grep
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2005-02-10 03:06:39 +0000
committerEric Andersen <andersen@codepoet.org>2005-02-10 03:06:39 +0000
commitd06645d8eddce3a22144a9ef8961a8f7599d319e (patch)
tree526cac83ded3499b57032bb118ffbab0b72222d4 /package/grep
parent040f60b3ea53947675333e60e14838ddd9944abd (diff)
There is no need to have a separate 'Makefile.in' file in the
general case, therefore, combine the toplevel Makefile options such as setting TARGETS into the per-package *.mk file
Diffstat (limited to 'package/grep')
-rw-r--r--package/grep/Makefile.in3
-rw-r--r--package/grep/grep.mk8
2 files changed, 8 insertions, 3 deletions
diff --git a/package/grep/Makefile.in b/package/grep/Makefile.in
deleted file mode 100644
index 25a134cc6..000000000
--- a/package/grep/Makefile.in
+++ /dev/null
@@ -1,3 +0,0 @@
-ifeq ($(strip $(BR2_PACKAGE_GREP)),y)
-TARGETS+=grep
-endif
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