8160491: tar.gz bundles missing files containing $
Reviewed-by: ihse
This commit is contained in:
parent
38acf59c15
commit
29556bae75
@ -280,7 +280,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
|
|||||||
else
|
else
|
||||||
# Default works for linux, might work on other platforms as well.
|
# Default works for linux, might work on other platforms as well.
|
||||||
SHARED_LIBRARY_FLAGS='-shared'
|
SHARED_LIBRARY_FLAGS='-shared'
|
||||||
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
|
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
|
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
|
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
|
||||||
@ -305,7 +305,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
|
|||||||
# Default works for linux, might work on other platforms as well.
|
# Default works for linux, might work on other platforms as well.
|
||||||
PICFLAG='-fPIC'
|
PICFLAG='-fPIC'
|
||||||
SHARED_LIBRARY_FLAGS='-shared'
|
SHARED_LIBRARY_FLAGS='-shared'
|
||||||
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN[$]1'
|
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN[$]1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
|
SET_SHARED_LIBRARY_NAME='-Wl,-soname=[$]1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
|
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=[$]1'
|
||||||
@ -315,7 +315,7 @@ AC_DEFUN([FLAGS_SETUP_COMPILER_FLAGS_FOR_LIBS],
|
|||||||
C_FLAG_REORDER='-xF'
|
C_FLAG_REORDER='-xF'
|
||||||
CXX_FLAG_REORDER='-xF'
|
CXX_FLAG_REORDER='-xF'
|
||||||
SHARED_LIBRARY_FLAGS="-G"
|
SHARED_LIBRARY_FLAGS="-G"
|
||||||
SET_EXECUTABLE_ORIGIN='-R\$$$$ORIGIN[$]1'
|
SET_EXECUTABLE_ORIGIN='-R\$$ORIGIN[$]1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-h [$]1'
|
SET_SHARED_LIBRARY_NAME='-h [$]1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
|
SET_SHARED_LIBRARY_MAPFILE='-M[$]1'
|
||||||
|
@ -5093,7 +5093,7 @@ VS_SDK_PLATFORM_NAME_2013=
|
|||||||
#CUSTOM_AUTOCONF_INCLUDE
|
#CUSTOM_AUTOCONF_INCLUDE
|
||||||
|
|
||||||
# Do not change or remove the following line, it is needed for consistency checks:
|
# Do not change or remove the following line, it is needed for consistency checks:
|
||||||
DATE_WHEN_GENERATED=1478079760
|
DATE_WHEN_GENERATED=1478524503
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -49070,7 +49070,7 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
|
|||||||
else
|
else
|
||||||
# Default works for linux, might work on other platforms as well.
|
# Default works for linux, might work on other platforms as well.
|
||||||
SHARED_LIBRARY_FLAGS='-shared'
|
SHARED_LIBRARY_FLAGS='-shared'
|
||||||
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN$1'
|
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN$1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1'
|
SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1'
|
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1'
|
||||||
@ -49095,7 +49095,7 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
|
|||||||
# Default works for linux, might work on other platforms as well.
|
# Default works for linux, might work on other platforms as well.
|
||||||
PICFLAG='-fPIC'
|
PICFLAG='-fPIC'
|
||||||
SHARED_LIBRARY_FLAGS='-shared'
|
SHARED_LIBRARY_FLAGS='-shared'
|
||||||
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$$$ORIGIN$1'
|
SET_EXECUTABLE_ORIGIN='-Wl,-rpath,\$$ORIGIN$1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="-Wl,-z,origin $SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1'
|
SET_SHARED_LIBRARY_NAME='-Wl,-soname=$1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1'
|
SET_SHARED_LIBRARY_MAPFILE='-Wl,-version-script=$1'
|
||||||
@ -49105,7 +49105,7 @@ $as_echo "$ac_cv_c_bigendian" >&6; }
|
|||||||
C_FLAG_REORDER='-xF'
|
C_FLAG_REORDER='-xF'
|
||||||
CXX_FLAG_REORDER='-xF'
|
CXX_FLAG_REORDER='-xF'
|
||||||
SHARED_LIBRARY_FLAGS="-G"
|
SHARED_LIBRARY_FLAGS="-G"
|
||||||
SET_EXECUTABLE_ORIGIN='-R\$$$$ORIGIN$1'
|
SET_EXECUTABLE_ORIGIN='-R\$$ORIGIN$1'
|
||||||
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
|
SET_SHARED_LIBRARY_ORIGIN="$SET_EXECUTABLE_ORIGIN"
|
||||||
SET_SHARED_LIBRARY_NAME='-h $1'
|
SET_SHARED_LIBRARY_NAME='-h $1'
|
||||||
SET_SHARED_LIBRARY_MAPFILE='-M$1'
|
SET_SHARED_LIBRARY_MAPFILE='-M$1'
|
||||||
|
@ -256,7 +256,7 @@ ifneq ($(filter product-bundles, $(MAKECMDGOALS)), )
|
|||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_DEMOS_BUNDLE, \
|
$(eval $(call SetupBundleFile, BUILD_DEMOS_BUNDLE, \
|
||||||
BUNDLE_NAME := $(DEMOS_BUNDLE_NAME), \
|
BUNDLE_NAME := $(DEMOS_BUNDLE_NAME), \
|
||||||
FILES := $(call DoubleDollar, $(DEMOS_BUNDLE_FILES)), \
|
FILES := $(DEMOS_BUNDLE_FILES), \
|
||||||
BASE_DIR := $(JDK_IMAGE_DIR), \
|
BASE_DIR := $(JDK_IMAGE_DIR), \
|
||||||
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
|
SUBDIR := $(JDK_BUNDLE_SUBDIR), \
|
||||||
))
|
))
|
||||||
@ -271,7 +271,7 @@ ifneq ($(filter test-bundles, $(MAKECMDGOALS)), )
|
|||||||
|
|
||||||
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
|
$(eval $(call SetupBundleFile, BUILD_TEST_BUNDLE, \
|
||||||
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
|
BUNDLE_NAME := $(TEST_BUNDLE_NAME), \
|
||||||
FILES := $(call DoubleDollar, $(TEST_BUNDLE_FILES)), \
|
FILES := $(TEST_BUNDLE_FILES), \
|
||||||
BASE_DIR := $(TEST_IMAGE_DIR), \
|
BASE_DIR := $(TEST_IMAGE_DIR), \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@ -366,9 +366,9 @@ ifneq ($(filter jdk, $(MAKECMDGOALS)), )
|
|||||||
|
|
||||||
DEMO_FILES := \
|
DEMO_FILES := \
|
||||||
$(if $(wildcard $(SUPPORT_OUTPUTDIR)/demos/image), \
|
$(if $(wildcard $(SUPPORT_OUTPUTDIR)/demos/image), \
|
||||||
$(call DoubleDollar, $(call DoubleDollar, \
|
$(call DoubleDollar, \
|
||||||
$(shell $(FIND) $(SUPPORT_OUTPUTDIR)/demos/image \
|
$(shell $(FIND) $(SUPPORT_OUTPUTDIR)/demos/image \
|
||||||
-type f -a ! \( -name "_the*" -o -name "javac_state" \) ))) \
|
-type f -a ! \( -name "_the*" -o -name "javac_state" \) )) \
|
||||||
)
|
)
|
||||||
|
|
||||||
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
|
ifeq ($(ZIP_EXTERNAL_DEBUG_SYMBOLS), true)
|
||||||
|
@ -454,7 +454,7 @@ define NamedParamsMacroTemplate
|
|||||||
Too many named arguments to macro, please update MAX_PARAMS in MakeBase.gmk))
|
Too many named arguments to macro, please update MAX_PARAMS in MakeBase.gmk))
|
||||||
# Iterate over 2 3 4... and evaluate the named parameters with $1_ as prefix
|
# Iterate over 2 3 4... and evaluate the named parameters with $1_ as prefix
|
||||||
$(foreach i,$(PARAM_SEQUENCE), $(if $(strip $($i)),\
|
$(foreach i,$(PARAM_SEQUENCE), $(if $(strip $($i)),\
|
||||||
$(strip $1)_$(strip $($i)))$(NEWLINE))
|
$(strip $1)_$(strip $(call DoubleDollar, $($i))))$(NEWLINE))
|
||||||
# Debug print all named parameter names and values
|
# Debug print all named parameter names and values
|
||||||
$(if $(findstring $(LOG_LEVEL),debug trace), \
|
$(if $(findstring $(LOG_LEVEL),debug trace), \
|
||||||
$(info $0 $(strip $1) $(foreach i,$(PARAM_SEQUENCE), \
|
$(info $0 $(strip $1) $(foreach i,$(PARAM_SEQUENCE), \
|
||||||
|
@ -202,9 +202,9 @@ $(eval $(call SetupJarArchive, BUILD_JAR3, \
|
|||||||
DEPENDENCIES := $(OUTPUT_DIR)/_jar3_created, \
|
DEPENDENCIES := $(OUTPUT_DIR)/_jar3_created, \
|
||||||
SRCS := $(JAR3_SRC_ROOT1) $(JAR3_SRC_ROOT2), \
|
SRCS := $(JAR3_SRC_ROOT1) $(JAR3_SRC_ROOT2), \
|
||||||
EXTRA_FILES := extra-file \
|
EXTRA_FILES := extra-file \
|
||||||
dir2/file$$$$foo.dollar \
|
dir2/file$$foo.dollar \
|
||||||
$(JAR3_SRC_ROOT2)/extra-file-abs, \
|
$(JAR3_SRC_ROOT2)/extra-file-abs, \
|
||||||
EXCLUDE_FILES := dir1/file1$$$$foo.class, \
|
EXCLUDE_FILES := dir1/file1$$foo.class, \
|
||||||
JAR := $(JAR3_FILE), \
|
JAR := $(JAR3_FILE), \
|
||||||
))
|
))
|
||||||
|
|
||||||
|
@ -209,9 +209,9 @@ test-vardep:
|
|||||||
test ! -e $(VARDEP_FLAG_FILE)
|
test ! -e $(VARDEP_FLAG_FILE)
|
||||||
#
|
#
|
||||||
# Test including some problematic characters
|
# Test including some problematic characters
|
||||||
$(MAKE) -f $(THIS_FILE) VARDEP_TEST_VAR='value4 \$$$$ORIGIN' $(VARDEP_TARGET_FILE)
|
$(MAKE) -f $(THIS_FILE) VARDEP_TEST_VAR='value4 \$$ORIGIN' $(VARDEP_TARGET_FILE)
|
||||||
$(RM) $(VARDEP_FLAG_FILE)
|
$(RM) $(VARDEP_FLAG_FILE)
|
||||||
$(MAKE) -f $(THIS_FILE) VARDEP_TEST_VAR='value4 \$$$$ORIGIN' $(VARDEP_TARGET_FILE)
|
$(MAKE) -f $(THIS_FILE) VARDEP_TEST_VAR='value4 \$$ORIGIN' $(VARDEP_TARGET_FILE)
|
||||||
test ! -e $(VARDEP_FLAG_FILE)
|
test ! -e $(VARDEP_FLAG_FILE)
|
||||||
|
|
||||||
# Test specifying a specific value file to store variable in
|
# Test specifying a specific value file to store variable in
|
||||||
|
Loading…
Reference in New Issue
Block a user