|
@@ -1182,10 +1182,12 @@ ifeq ($$($$($(2)_KCONFIG_VAR)),y)
|
|
|
|
|
|
# Ensure the calling package is the declared provider for all the virtual
|
|
|
# packages it claims to be an implementation of.
|
|
|
+ifeq ($(BR_BUILDING),y)
|
|
|
ifneq ($$($(2)_PROVIDES),)
|
|
|
$$(foreach pkg,$$($(2)_PROVIDES),\
|
|
|
$$(eval $$(call virt-provides-single,$$(pkg),$$(call UPPERCASE,$$(pkg)),$(1))$$(sep)))
|
|
|
endif
|
|
|
+endif
|
|
|
|
|
|
# Register package as a reverse-dependencies of all its dependencies
|
|
|
$$(eval $$(foreach p,$$($(2)_FINAL_ALL_DEPENDENCIES),\
|