On 29 November 2017 at 09:02, Manjukumar Matha
<manjukumar.harthikote-ma...@xilinx.com> wrote:
> Fix the issue while switching between different pmu-firmware providers
>
> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-ma...@xilinx.com>

The commit message is missing some of the details on the issue being
resolved. This change is needed to avoid provider conflicts with other
recipes named 'pmu-firmware', e.g. the one in meta-xilinx-tools (which
shouldn't be class extended by zynqmp-pmu).

Applied.

Thanks,
Nathan

> ---
>  conf/machine/include/zynqmp-pmu-config.inc      | 2 +-
>  recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bb | 1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/conf/machine/include/zynqmp-pmu-config.inc 
> b/conf/machine/include/zynqmp-pmu-config.inc
> index 23d9ade..fd9e980 100644
> --- a/conf/machine/include/zynqmp-pmu-config.inc
> +++ b/conf/machine/include/zynqmp-pmu-config.inc
> @@ -3,7 +3,7 @@
>  def zynqmp_pmu_enable_for_bpns(d):
>      bpn = d.getVar("BPN")
>      crossbpns = ["binutils", "gcc"]
> -    targetbpns = ["libgcc", "newlib", "libgloss", "pmu-firmware"]
> +    targetbpns = ["libgcc", "newlib", "libgloss"]
>      if bpn in targetbpns:
>          return True
>      if bpn in crossbpns and bb.data.inherits_class('cross', d):
> diff --git a/recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bb 
> b/recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bb
> index aceadf7..e5c5a03 100644
> --- a/recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bb
> +++ b/recipes-bsp/pmu-firmware/pmu-firmware_2017.3.bb
> @@ -96,3 +96,4 @@ do_deploy() {
>  }
>  addtask deploy before do_build after do_install
>
> +BBCLASSEXTEND = "zynqmp-pmu"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
-- 
_______________________________________________
meta-xilinx mailing list
meta-xilinx@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to