make/Bundles.gmk
changeset 42507 a3499e58c108
parent 42506 54b0b4fffab5
child 42849 fa0a0a987432
--- 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)), )