8171167: Build fails in Mach 5 with "File name too long."
authorerikj
Tue, 13 Dec 2016 16:19:20 +0100
changeset 42507 a3499e58c108
parent 42506 54b0b4fffab5
child 42513 b12c23d0240c
8171167: Build fails in Mach 5 with "File name too long." Reviewed-by: tbell
make/Bundles.gmk
--- 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)), )