summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2012-07-26 15:49:10 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-26 15:59:23 +0200
commita236141e4aec1046dab191abcdea226522127242 (patch)
treefb56650c4f3b03142d703a38bbc97da9a3e7d4c6 /Makefile
parent7f77377850537194ea634f0d2c81e8cc5cb90a1b (diff)
move help target to Makefile; it doesn't need config_host.mk
Change-Id: Ib627bb0a12b5b055f8d6077c00cc8099473fa176
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8b275453d8b9..4d97e71920a8 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ SRCDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))
.PHONY : $(filter-out $(SRCDIR)/config_host.mk,$(MAKECMDGOALS))
# recursively invoke Makefile.top, which includes config_host.mk
-$(firstword $(MAKECMDGOALS)) : $(SRCDIR)/config_host.mk
+$(filter-out help,$(firstword $(MAKECMDGOALS))) : $(SRCDIR)/config_host.mk
$(MAKE) -r -f $(SRCDIR)/Makefile.top $(MAKECMDGOALS)
# run configure in an environment not polluted by config_host.mk
@@ -34,4 +34,8 @@ $(SRCDIR)/config_host.mk : \
$(SRCDIR)/autogen.lastrun:
@true
+help:
+ @cat $(SRCDIR)/solenv/gbuild/gbuild.help.txt
+ @true
+
# vim: set noet sw=4 ts=4: