[OE-core] [PATCH 1/4] u-boot: Add missing dependency on swig

Marek Vasut marex at denx.de
Wed Jul 11 18:55:29 UTC 2018


On 07/11/2018 05:20 PM, Martin Jansa wrote:
> Doesn't it add dependency on python as well?

It does as python is needed too.

> It was failing before RSS when swig-native was autodetected in sysroot:

RSS ?

> https://www.mail-archive.com/yocto@yoctoproject.org/msg38214.html
> https://lists.yoctoproject.org/pipermail/yocto/2017-October/038347.html
> IIRC it fails to build only when the Python.h is also missing on host,
> which makes it even worse.

Can you check if it still fails with this patchset ? I believe this
problem you linked is fixed in upstream now, but let's see. I could
never replicate the problem myself.

> On Wed, Jul 11, 2018 at 5:10 PM Marek Vasut <marex at denx.de
> <mailto:marex at denx.de>> wrote:
> 
>     The U-Boot build, in particular the pylibfdt, depends on swig-native.
>     Add the missing dependency.
> 
>     Signed-off-by: Marek Vasut <marex at denx.de <mailto:marex at denx.de>>
>     Cc: Alexander Kanavin <alexander.kanavin at linux.intel.com
>     <mailto:alexander.kanavin at linux.intel.com>>
>     Cc: Otavio Salvador <otavio at ossystems.com.br
>     <mailto:otavio at ossystems.com.br>>
>     Cc: Richard Purdie <richard.purdie at linuxfoundation.org
>     <mailto:richard.purdie at linuxfoundation.org>>
>     Cc: Ross Burton <ross.burton at intel.com <mailto:ross.burton at intel.com>>
>     ---
>      meta/recipes-bsp/u-boot/u-boot_2018.05.bb
>     <http://u-boot_2018.05.bb> | 2 +-
>      1 file changed, 1 insertion(+), 1 deletion(-)
> 
>     diff --git a/meta/recipes-bsp/u-boot/u-boot_2018.05.bb
>     <http://u-boot_2018.05.bb>
>     b/meta/recipes-bsp/u-boot/u-boot_2018.05.bb <http://u-boot_2018.05.bb>
>     index 37c21dcaa3..3cdec00cbd 100644
>     --- a/meta/recipes-bsp/u-boot/u-boot_2018.05.bb
>     <http://u-boot_2018.05.bb>
>     +++ b/meta/recipes-bsp/u-boot/u-boot_2018.05.bb
>     <http://u-boot_2018.05.bb>
>     @@ -1,4 +1,4 @@
>      require u-boot-common_${PV}.inc
>      require u-boot.inc
> 
>     -DEPENDS += "bc-native dtc-native"
>     +DEPENDS += "bc-native dtc-native swig-native"
>     -- 
>     2.16.2
> 
>     -- 
>     _______________________________________________
>     Openembedded-core mailing list
>     Openembedded-core at lists.openembedded.org
>     <mailto:Openembedded-core at lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-core
> 


-- 
Best regards,
Marek Vasut



More information about the Openembedded-core mailing list