File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -311,9 +311,11 @@ define SetupJavaCompilationBody
311311 ifneq ($$($1_KEEP_DUPS), true)
312312 # Remove duplicate source files by keeping the first found of each duplicate.
313313 # This allows for automatic overrides with custom or platform specific versions
314- # source files.
314+ # source files. Need to call DoubleDollar as we have java classes with '$' in
315+ # their names.
315316 $1_SRCS := $$(strip $$(foreach s, $$($1_SRCS), \
316- $$(eval relative_src := $$(call remove-prefixes, $$($1_SRC), $$(s))) \
317+ $$(eval relative_src := $$(call remove-prefixes, $$($1_SRC), \
318+ $$(call DoubleDollar, $$(s)))) \
317319 $$(if $$($1_$$(relative_src)), \
318320 , \
319321 $$(eval $1_$$(relative_src) := 1) $$(s))))
You can’t perform that action at this time.
0 commit comments