changeset 1660:ddedccc5c0ab

Rename CreatePath to PathList.
author twisti
date Wed, 16 Sep 2015 11:25:48 -1000
parents 07895708058d
children 56f88364c0a6
files make/common/MakeBase.gmk
diffstat 1 files changed, 8 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/make/common/MakeBase.gmk	Wed Sep 16 11:02:01 2015 -1000
+++ b/make/common/MakeBase.gmk	Wed Sep 16 11:25:48 2015 -1000
@@ -99,12 +99,6 @@
 DoubleDollar = $(subst $$,$$$$,$(strip $1))
 
 ################################################################################
-# Create a path string from a list of paths and surround it in quotes.
-# Param 1 - List of paths to combine
-CreatePath = \
-    "$(subst $(SPACE),$(PATH_SEP),$(strip $1))"
-
-################################################################################
 
 # If the variable that you want to send to stdout for piping into a file or otherwise,
 # is potentially long, for example the a list of file paths, eg a list of all package directories.
@@ -786,6 +780,14 @@
 endif
 
 ################################################################################
+# Return a string suitable for use after a -classpath option. It will correct and safe to use
+# on all platforms. Arguments are given as space separate classpath entries.
+# param 1 : A space separated list of classpath entries
+# The surrounding strip is needed to keep additional whitespace out
+PathList = \
+  "$(subst $(SPACE),$(PATH_SEP),$(strip $1))"
+
+################################################################################
 
 # Hook to include the corresponding custom file, if present.
 $(eval $(call IncludeCustomExtension, , common/MakeBase.gmk))