[Buildroot] [PATCHv2] core/pkg-generic: host variants inherits target's override-srcdir
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jul 20 13:31:09 UTC 2015
Dear Yann E. MORIN,
On Sun, 19 Jul 2015 15:15:28 +0200, Yann E. MORIN wrote:
> When a package has both a target and a host variants, and there is an
> override-srcdir set for the target variant, the host variant should
> inherit the target's override-srcdir, unless explicitly set, like we do
> for all other target-variant properties.
>
> However, do not override it if expressly set to empty (i.e. when the
> user wants to override only the target variant).
>
> Also, as we do for the other variables, the target variant never
> inherits from the host variant.
>
> Reported-by: Mike <mikez at OpenPlayer.org>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> Cc: Arnout Vandecappelle <arnout at mind.be>
>
> ---
> Changes v1 -> v2:
> - really do not override the host variant if expressly set to empty
> (Arnout)
> ---
> package/pkg-generic.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list