diff --git a/make/Bundles.gmk b/make/Bundles.gmk index 9f0c2e17a0b..04e68575fc8 100644 --- a/make/Bundles.gmk +++ b/make/Bundles.gmk @@ -55,7 +55,8 @@ define SetupBundleFileBody $$(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)), )