changeset 2375:4855a0f5d1c2

8171167: Build fails in Mach 5 with "File name too long." Reviewed-by: tbell
author erikj
date Tue, 13 Dec 2016 16:19:20 +0100
parents 723f30acba32
children 74485ef9aacb
files make/Bundles.gmk
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/make/Bundles.gmk	Tue Dec 13 12:31:43 2016 +0100
+++ b/make/Bundles.gmk	Tue Dec 13 16:19:20 2016 +0100
@@ -55,7 +55,8 @@
   $$(foreach d, $$($1_BASE_DIRS), \
     $$(eval $1_$$d_RELATIVE_FILES := $$$$(patsubst $$d/%, %, \
         $$$$(filter $$d/%, $$$$($1_FILES)))) \
-    $$(eval $1_$$d_LIST_FILE := $(SUPPORT_OUTPUTDIR)/bundles/_$1_$$$$(subst /,_,$$d_files)) \
+    $$(eval $1_$$d_LIST_FILE := \
+        $(SUPPORT_OUTPUTDIR)/bundles/_$1_$$$$(subst /,_,$$$$(patsubst $(TOPDIR)/%,%,$$d)_files)) \
   )
 
   ifneq ($$(filter %.tar.gz, $$($1_BUNDLE_NAME)), )