summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-04-29 14:15:22 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-30 17:43:49 +0200
commit38860fb21fb28bc79895a7807d5b07a0395a8668 (patch)
treef872e04f563e8587d1806e70cc44f53166d36562 /docs/manual
parent2ae7b21e0b4d49575dace799424f1dda5f5d2465 (diff)
downloadbuildroot-38860fb21fb28bc79895a7807d5b07a0395a8668.tar.gz
buildroot-38860fb21fb28bc79895a7807d5b07a0395a8668.zip
package/pkg-generic: add check that target variant is defined before host variant
Update the documentation accordingly. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [yann.morin.1998@free.fr: slight rephrasing in error message, update manual] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/adding-packages-generic.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/manual/adding-packages-generic.txt b/docs/manual/adding-packages-generic.txt
index 62906d92bb..7e1f246752 100644
--- a/docs/manual/adding-packages-generic.txt
+++ b/docs/manual/adding-packages-generic.txt
@@ -179,8 +179,10 @@ some tools to be installed on the host. If the package name is
variables of other packages, if they depend on +libfoo+ or
+host-libfoo+.
-The call to the +generic-package+ and/or +host-generic-package+ macro *must* be
-at the end of the +.mk+ file, after all variable definitions.
+The call to the +generic-package+ and/or +host-generic-package+ macro
+*must* be at the end of the +.mk+ file, after all variable definitions.
+The call to +host-generic-package+ *must* be after the call to
++generic-package+, if any.
For the target package, the +generic-package+ uses the variables defined by
the .mk file and prefixed by the uppercased package name:
OpenPOWER on IntegriCloud