diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2018-04-29 14:15:22 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-30 17:43:49 +0200 |
commit | 38860fb21fb28bc79895a7807d5b07a0395a8668 (patch) | |
tree | f872e04f563e8587d1806e70cc44f53166d36562 /docs/manual | |
parent | 2ae7b21e0b4d49575dace799424f1dda5f5d2465 (diff) | |
download | buildroot-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.txt | 6 |
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: |