Build System: Fix issue with addons moduleinfo.
The build system now scans additional sources when generating moduleinfo for menuselect. Unfortunately the extra sources for format_mp3 only exist if downloaded. Use the Makefile macro 'wildcard' to allow moduleinfo generator to ignore sources that do not exist. Change-Id: I596604713b7345ce994f32197f8f6bfd9bcf4170
This commit is contained in:
parent
4475945a24
commit
47fa2ad10b
|
@ -66,7 +66,9 @@ define MOD_ADD_SOURCE
|
|||
$$(if $$(filter $(1),$$(EMBEDDED_MODS)),modules.link,$(1).so): $$(subst $(3),$(5),$(2))
|
||||
$$(subst $(3),$(5),$(2)): _ASTCFLAGS+=$$(call MOD_ASTCFLAGS,$(1))
|
||||
.$(1).moduleinfo: MODULEINFO_EXTRA_OUTPUT=" $$(addprefix $$(SUBDIR)/,$$(subst $(3),$(5),$(2)) $$(subst $(3),$(4),$(2)))"
|
||||
.$(1).moduleinfo: $(2)
|
||||
# The use of wildcard ensures that 'make menuselect' will not fail for modules that
|
||||
# require additional source downloads.
|
||||
.$(1).moduleinfo: $(wildcard $(2))
|
||||
|
||||
clean:: clean-$(1)$(3)
|
||||
|
||||
|
|
Loading…
Reference in New Issue