diff options
author | David Tardon <dtardon@redhat.com> | 2012-02-24 15:46:21 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-06 10:27:27 +0100 |
commit | 154cc802ebf3a391e20bb2ac9e6884047ee3bade (patch) | |
tree | 8a6d93cd5c33ff7356292c08a32d1e378da072b6 /solenv | |
parent | fix platform ID (diff) | |
download | core-154cc802ebf3a391e20bb2ac9e6884047ee3bade.tar.gz core-154cc802ebf3a391e20bb2ac9e6884047ee3bade.zip |
add helper function to convert path to native format
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/platform/WNT_INTEL_GCC.mk | 5 | ||||
-rw-r--r-- | solenv/gbuild/platform/WNT_INTEL_MSC.mk | 5 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_GCC_defs.mk | 5 | ||||
-rw-r--r-- | solenv/gbuild/platform/solaris.mk | 5 |
4 files changed, 20 insertions, 0 deletions
diff --git a/solenv/gbuild/platform/WNT_INTEL_GCC.mk b/solenv/gbuild/platform/WNT_INTEL_GCC.mk index 4f19181f3c1f..ed88e7f224dd 100644 --- a/solenv/gbuild/platform/WNT_INTEL_GCC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_GCC.mk @@ -109,6 +109,11 @@ define gb_Helper_convert_native $(1) endef +# Convert path to native notation +define gb_Helper_native_path +$(1) +endef + # AsmObject class gb_AsmObject_get_source = $(1)/$(2).s diff --git a/solenv/gbuild/platform/WNT_INTEL_MSC.mk b/solenv/gbuild/platform/WNT_INTEL_MSC.mk index 39853d9907ab..dc661d153ec7 100644 --- a/solenv/gbuild/platform/WNT_INTEL_MSC.mk +++ b/solenv/gbuild/platform/WNT_INTEL_MSC.mk @@ -258,6 +258,11 @@ $(subst $(OUTDIR),$(gb_Helper_OUTDIR_NATIVE), \ $(1))))) endef +# Convert path to native notation +define gb_Helper_native_path +$(shell cygpath -m $(1)) +endef + # YaccTarget class define gb_YaccTarget__command diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk index cf770630ca78..e760d9ed809b 100644 --- a/solenv/gbuild/platform/com_GCC_defs.mk +++ b/solenv/gbuild/platform/com_GCC_defs.mk @@ -169,6 +169,11 @@ define gb_Helper_convert_native $(1) endef +# Convert path to native notation +define gb_Helper_native_path +$(1) +endef + gb_Helper_OUTDIRLIBDIR := $(OUTDIR)/lib gb_Helper_abbreviate_dirs_native = $(gb_Helper_abbreviate_dirs) diff --git a/solenv/gbuild/platform/solaris.mk b/solenv/gbuild/platform/solaris.mk index d56ac2d9634d..13c34357971d 100644 --- a/solenv/gbuild/platform/solaris.mk +++ b/solenv/gbuild/platform/solaris.mk @@ -153,6 +153,11 @@ define gb_Helper_convert_native $(1) endef +# Convert path to native notation +define gb_Helper_native_path +$(1) +endef + gb_Helper_OUTDIRLIBDIR := $(OUTDIR)/lib # CObject class |