Commit 3e5eb710 authored by Yann E. MORIN's avatar Yann E. MORIN Committed by Thomas Petazzoni
Browse files

core/pkg-generic: add variable to skip skeleton dependency

We currently skip the skeleton dependency by checking if the current
package is the skeleton.

We are going to introduce more skeleton-related packages, so we
need a way to exclude the skeleton dependency for those, or we'd
get a circular dependency, for the same reason we need to skip
the toolchain dependency.

Instead of checking for all the skeleton-providing packages in the core
infra, add a new package options so that packages can express they do
not need the dependency on the skeleton, like we have an option to avoid
the depednency on the toolchain. The only packages that will use that
option are probably the skeletons, so we need not document this
variable, like we did not document the option to exclude the dependency
on the toolchain.

Signed-off-by: default avatar"Yann E. MORIN" <>
Reviewed-by: default avatarRomain Naour <>
Reviewed-by: default avatarArnout Vandecappelle (Essensium/Mind) <>
Signed-off-by: default avatarThomas Petazzoni <>
parent 68832249
......@@ -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
# 'NO' so the 'toolchain' dependency is not added to prevent a circular
# dependency
# dependency.
# Similarly for the skeleton.
ifeq ($(4),target)
ifneq ($(1),skeleton)
$(2)_DEPENDENCIES += skeleton
......@@ -9,6 +9,7 @@
# Hence, skeleton would depends on the toolchain and the toolchain would depend
# on skeleton.
# The skeleton also handles the merged /usr case in the sysroot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment