diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-01 01:28:39 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-12-01 08:55:52 -0500 |
commit | f077db2668fe12eb260a47ac9abf5db32eeeab15 (patch) | |
tree | 492efb2b8ecc74ef7ec2e986e313766f02db522f /solenv | |
parent | f41eddb61c76d4bce924dd5fcddd21157a83d4eb (diff) |
Revert "Don't overwrite OUTDIR & friends."
This reverts commit 28275d470f3a062cfa27d72bbf89328af1e83c68.
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/BuildDirs.mk | 9 |
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: |