All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Revert "Revert "libubootenv: inherit uboot-config""
@ 2021-07-23  0:19 Anuj Mittal
  2021-07-23 20:52 ` [OE-core] " Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Anuj Mittal @ 2021-07-23  0:19 UTC (permalink / raw)
  To: openembedded-core

This reverts commit be1cf223bf9c514ee81820ded5b13318458c0daf.

The original change was added to resolve build errors [1] for MACHINE
values that don't have u-boot support. This recipe was, after that
change, skipped in world builds for those MACHINEs.

But we should be able to build libubootenv with or without u-boot
support [2] so the original solution to inherit uboot-config was not
perfect. But until we have a better solution, revert this so
builds don't fail for others.

[1] https://lists.openembedded.org/g/openembedded-core/message/153508
[2] https://lists.openembedded.org/g/openembedded-core/message/153614

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
---
 meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
index 6774290ea5..cb59dd3f1d 100644
--- a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
+++ b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
@@ -15,7 +15,7 @@ SRCREV = "ba7564f5006d09bec51058cf4f5ac90d4dc18b3c"
 
 S = "${WORKDIR}/git"
 
-inherit cmake lib_package
+inherit uboot-config cmake lib_package
 
 EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
 
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] Revert "Revert "libubootenv: inherit uboot-config""
  2021-07-23  0:19 [PATCH] Revert "Revert "libubootenv: inherit uboot-config"" Anuj Mittal
@ 2021-07-23 20:52 ` Otavio Salvador
  2021-07-23 21:10   ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Otavio Salvador @ 2021-07-23 20:52 UTC (permalink / raw)
  To: Anuj Mittal; +Cc: Patches and discussions about the oe-core layer

I am against reverting it again. We discussed alternatives, which
could solve the problem.

Em qui., 22 de jul. de 2021 às 21:19, Anuj Mittal
<anuj.mittal@intel.com> escreveu:
>
> This reverts commit be1cf223bf9c514ee81820ded5b13318458c0daf.
>
> The original change was added to resolve build errors [1] for MACHINE
> values that don't have u-boot support. This recipe was, after that
> change, skipped in world builds for those MACHINEs.
>
> But we should be able to build libubootenv with or without u-boot
> support [2] so the original solution to inherit uboot-config was not
> perfect. But until we have a better solution, revert this so
> builds don't fail for others.
>
> [1] https://lists.openembedded.org/g/openembedded-core/message/153508
> [2] https://lists.openembedded.org/g/openembedded-core/message/153614
>
> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
> ---
>  meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
> index 6774290ea5..cb59dd3f1d 100644
> --- a/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
> +++ b/meta/recipes-bsp/u-boot/libubootenv_0.3.2.bb
> @@ -15,7 +15,7 @@ SRCREV = "ba7564f5006d09bec51058cf4f5ac90d4dc18b3c"
>
>  S = "${WORKDIR}/git"
>
> -inherit cmake lib_package
> +inherit uboot-config cmake lib_package
>
>  EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release"
>
> --
> 2.31.1
>
>
> 
>


-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] Revert "Revert "libubootenv: inherit uboot-config""
  2021-07-23 20:52 ` [OE-core] " Otavio Salvador
@ 2021-07-23 21:10   ` Richard Purdie
  2021-07-25  2:15     ` Otavio Salvador
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2021-07-23 21:10 UTC (permalink / raw)
  To: Otavio Salvador, Anuj Mittal
  Cc: Patches and discussions about the oe-core layer

On Fri, 2021-07-23 at 17:52 -0300, Otavio Salvador wrote:
> I am against reverting it again. We discussed alternatives, which
> could solve the problem.
> 
> Em qui., 22 de jul. de 2021 às 21:19, Anuj Mittal
> <anuj.mittal@intel.com> escreveu:
> > 
> > This reverts commit be1cf223bf9c514ee81820ded5b13318458c0daf.
> > 
> > The original change was added to resolve build errors [1] for MACHINE
> > values that don't have u-boot support. This recipe was, after that
> > change, skipped in world builds for those MACHINEs.
> > 
> > But we should be able to build libubootenv with or without u-boot
> > support [2] so the original solution to inherit uboot-config was not
> > perfect. But until we have a better solution, revert this so
> > builds don't fail for others.
> > 
> > [1] https://lists.openembedded.org/g/openembedded-core/message/153508
> > [2] https://lists.openembedded.org/g/openembedded-core/message/153614
> > 

Something needs to change. Perhaps the RRECOMMENDS should just be removed
as that seems to be the cause of the problems?

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [OE-core] [PATCH] Revert "Revert "libubootenv: inherit uboot-config""
  2021-07-23 21:10   ` Richard Purdie
@ 2021-07-25  2:15     ` Otavio Salvador
  0 siblings, 0 replies; 4+ messages in thread
From: Otavio Salvador @ 2021-07-25  2:15 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Anuj Mittal, Patches and discussions about the oe-core layer

Em sex., 23 de jul. de 2021 às 18:10, Richard Purdie
<richard.purdie@linuxfoundation.org> escreveu:
> On Fri, 2021-07-23 at 17:52 -0300, Otavio Salvador wrote:
> > I am against reverting it again. We discussed alternatives, which
> > could solve the problem.
> >
> > Em qui., 22 de jul. de 2021 às 21:19, Anuj Mittal
> > <anuj.mittal@intel.com> escreveu:
> > >
> > > This reverts commit be1cf223bf9c514ee81820ded5b13318458c0daf.
> > >
> > > The original change was added to resolve build errors [1] for MACHINE
> > > values that don't have u-boot support. This recipe was, after that
> > > change, skipped in world builds for those MACHINEs.
> > >
> > > But we should be able to build libubootenv with or without u-boot
> > > support [2] so the original solution to inherit uboot-config was not
> > > perfect. But until we have a better solution, revert this so
> > > builds don't fail for others.
> > >
> > > [1] https://lists.openembedded.org/g/openembedded-core/message/153508
> > > [2] https://lists.openembedded.org/g/openembedded-core/message/153614
> > >
>
> Something needs to change. Perhaps the RRECOMMENDS should just be removed
> as that seems to be the cause of the problems?

I'd be fine in dropping it. This would be a better fix for sure.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9 9981-7854          Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-25  2:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-23  0:19 [PATCH] Revert "Revert "libubootenv: inherit uboot-config"" Anuj Mittal
2021-07-23 20:52 ` [OE-core] " Otavio Salvador
2021-07-23 21:10   ` Richard Purdie
2021-07-25  2:15     ` Otavio Salvador

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.