summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-12-02 21:25:49 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2011-12-02 21:30:43 -0500
commitc53c81d97eca4fd3f9a6957ed8b3988a61391da7 (patch)
treed49aa4ea419ab9438dba6848bfe3743f8700f246 /solenv
parent4bfec0e8393901aad5ccc790a5080842f64019a7 (diff)
Revert "Don't overwrite OUTDIR & friends." once again....
This reverts commit 0f1b0e5b7ad813069630e7ae719a800ecab640a8.
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: