|
@@ -542,11 +542,14 @@ $(2)_REDIST_SOURCES_DIR = $$(REDIST_SOURCES_DIR_$$(call UPPERCASE,$(4)))/$$($(2)
|
|
|
|
|
|
# When a target package is a toolchain dependency set this variable to
|
|
# When a target package is a toolchain dependency set this variable to
|
|
# 'NO' so the 'toolchain' dependency is not added to prevent a circular
|
|
# 'NO' so the 'toolchain' dependency is not added to prevent a circular
|
|
-# dependency
|
|
|
|
|
|
+# dependency.
|
|
|
|
+# Similarly for the skeleton.
|
|
$(2)_ADD_TOOLCHAIN_DEPENDENCY ?= YES
|
|
$(2)_ADD_TOOLCHAIN_DEPENDENCY ?= YES
|
|
|
|
+$(2)_ADD_SKELETON_DEPENDENCY ?= YES
|
|
|
|
+
|
|
|
|
|
|
ifeq ($(4),target)
|
|
ifeq ($(4),target)
|
|
-ifneq ($(1),skeleton)
|
|
|
|
|
|
+ifeq ($$($(2)_ADD_SKELETON_DEPENDENCY),YES)
|
|
$(2)_DEPENDENCIES += skeleton
|
|
$(2)_DEPENDENCIES += skeleton
|
|
endif
|
|
endif
|
|
ifeq ($$($(2)_ADD_TOOLCHAIN_DEPENDENCY),YES)
|
|
ifeq ($$($(2)_ADD_TOOLCHAIN_DEPENDENCY),YES)
|