summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2011-11-16 16:13:54 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2011-11-16 16:14:09 -0600
commit8a7cfed28d15a7e64e897fa309189cce058fc48a (patch)
tree748971a15f4d91428b35ee63aee8394194906bd3 /solenv
parent886acba2a5251be4f1fb5a1d2f1517dc53a85228 (diff)
support for various make goal in source_and_rerun
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/source_and_rerun.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/solenv/gbuild/source_and_rerun.mk b/solenv/gbuild/source_and_rerun.mk
index 937751f1e6c5..0de1a9ddf35f 100644
--- a/solenv/gbuild/source_and_rerun.mk
+++ b/solenv/gbuild/source_and_rerun.mk
@@ -1,6 +1,11 @@
-all:
+dummy:
@if test -f ./config.mk; then . ./config.mk; else if test -f ../config.mk ; then . ../config.mk; fi; fi && \
if test -f ./Env.Host.sh; then . ./Env.Host.sh; else if test -f ../Env.Host.sh; then . ../Env.Host.sh; fi ; fi && \
if test -z "$${SOLARENV}"; then echo "No environment set!" 2>&1; exit 1; fi && \
$(MAKE) $(MAKECMDGOALS)
+
+ifneq ($(strip $(MAKECMDGOALS)),)
+$(eval $(MAKECMDGOALS) : dummy)
+endif
+