summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-12-01 01:28:39 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-12-01 08:55:52 -0500
commitf077db2668fe12eb260a47ac9abf5db32eeeab15 (patch)
tree492efb2b8ecc74ef7ec2e986e313766f02db522f /solenv
parentf41eddb61c76d4bce924dd5fcddd21157a83d4eb (diff)
Revert "Don't overwrite OUTDIR & friends."
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/BuildDirs.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/gbuild/BuildDirs.mk b/solenv/gbuild/BuildDirs.mk
index 828546f3009a..6a0933b33c2e 100644
--- a/solenv/gbuild/BuildDirs.mk
+++ b/solenv/gbuild/BuildDirs.mk
@@ -35,6 +35,15 @@ ifeq ($(strip $(SOLARENV)),)
$(error SOLARENV variable is empty, no environment set, aborting)
endif
+# HACK
+# unixify windoze paths
+ifeq ($(OS_FOR_BUILD),WNT)
+override WORKDIR := $(shell cygpath -u $(WORKDIR))
+override OUTDIR := $(shell cygpath -u $(OUTDIR))
+override OUTDIR_FOR_BUILD := $(shell cygpath -u $(OUTDIR_FOR_BUILD))
+override SRCDIR := $(shell cygpath -u $(SRCDIR))
+endif
+
REPODIR := $(patsubst %/,%,$(dir $(SRCDIR)))
# vim: set noet sw=4: