[FE training-materials-updates] slides/buildroot-internals: host dependencies no longer derived from target ones

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 14 23:31:36 CEST 2017


Repository : git://git.free-electrons.com/training-materials.git
On branch  : master
Link       : http://git.free-electrons.com/training-materials/commit/?id=11aefc71837b25b39572231bacaf02844af1d1ec

>---------------------------------------------------------------

commit 11aefc71837b25b39572231bacaf02844af1d1ec
Author: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Date:   Sat Oct 14 23:31:36 2017 +0200

    slides/buildroot-internals: host dependencies no longer derived from target ones
    
    Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>


>---------------------------------------------------------------

11aefc71837b25b39572231bacaf02844af1d1ec
 slides/buildroot-internals/buildroot-internals.tex | 30 ++++------------------
 1 file changed, 5 insertions(+), 25 deletions(-)

diff --git a/slides/buildroot-internals/buildroot-internals.tex b/slides/buildroot-internals/buildroot-internals.tex
index 700190a..99c9c7e 100644
--- a/slides/buildroot-internals/buildroot-internals.tex
+++ b/slides/buildroot-internals/buildroot-internals.tex
@@ -314,30 +314,10 @@ endif
 
 \begin{block}{}
 \begin{minted}[fontsize=\tiny]{make}
-ifeq ($(4),host)
-$(2)_DEPENDENCIES ?= $$(filter-out  host-toolchain $(1),\
-        $$(patsubst host-host-%,host-%,$$(addprefix host-,$$($(3)_DEPENDENCIES))))
-endif
-\end{minted}
-\end{block}
-
-\small
-\begin{itemize}
-
-\item Dependencies of host packages, if not explicitly specified, are
-  derived from the dependencies of the target package, by adding a
-  \code{host-} prefix to each dependency.
-
-\begin{itemize}
-\item If a package \code{foo} defines
-  \code{FOO_DEPENDENCIES = bar baz host-buzz}, then the
-  \code{host-foo} package will have \code{host-bar}, \code{host-baz} and
-    \code{host-buzz} in its dependencies.
-\end{itemize}
-
-\begin{block}{}
-\begin{minted}[fontsize=\tiny]{make}
 ifeq ($(4),target)
+ifeq ($$($(2)_ADD_SKELETON_DEPENDENCY),YES)
+$(2)_DEPENDENCIES += skeleton
+endif
 ifeq ($$($(2)_ADD_TOOLCHAIN_DEPENDENCY),YES)
 $(2)_DEPENDENCIES += toolchain
 endif
@@ -345,8 +325,8 @@ endif
 \end{minted}
 \end{block}
 
-\item Adding the \code{toolchain} dependency to target
-  packages. Except for some specific packages (e.g. C library).
+\item Adding the \code{skeleton} and \code{toolchain} dependencies to
+  target packages. Except for some specific packages (e.g. C library).
 
 \end{itemize}
 




More information about the training-materials-updates mailing list