[Buildroot] [PATCH v2 1/1] package/rcw : bump to LSDK-19.09

Laurent Hartanerot laurent.hartanerot at gmail.com
Sun Mar 22 14:51:19 UTC 2020


Hello Yann,
Thank you for the feedback,

- I thought I followed the explanations by making a first patch :
https://patchwork.ozlabs.org/patch/1258063/
and the second patch (this) for the version bump...
Maybe, I shouldn't have done it in response to this email (--in-reply-to=)



- I take this opportunity to explain why I have not used
+HOST_RCW_DEPENDENCIES = $(BR2_PYTHON3_HOST_DEPENDENCY)
but
+HOST_RCW_DEPENDENCIES = host-python3
in the first case the host-python3 dependency is not added

When I check the varaibles (in the first case) I get :
$ make printvars "VARS=HOST_RCW_DEPENDENCIES"
HOST_RCW_DEPENDENCIES= host-skeleton
$ make printvars "VARS=BR2_PYTHON3_HOST_DEPENDENCY"

but in the second case :
$ make printvars "VARS=BR2_PYTHON3_HOST_DEPENDENCY"
$ make printvars "VARS=HOST_RCW_DEPENDENCIES"
HOST_RCW_DEPENDENCIES=host-python3 host-skeleton

I don't find the reason why $(BR2_PYTHON3_HOST_DEPENDENCY) is not equals to
host-python3.

Thanks for support


Le dim. 22 mars 2020 à 14:13, Yann E. MORIN <yann.morin.1998 at free.fr> a
écrit :

> Laurent, All,
>
> On 2020-03-22 11:31 +0100, Laurent Hartanerot spake thusly:
> > From: Laurent Hartanerot <laurent.hartanerot at atos.net>
> >
> > Upgrade python to python3 : "Only Python versions 3.0+ are supported"
> >
> > Signed-off-by: Laurent Hartanerot <laurent.hartanerot at atos.net>
> > ---
> >  package/rcw/rcw.hash | 2 +-
> >  package/rcw/rcw.mk   | 6 +++---
> >  2 files changed, 4 insertions(+), 4 deletions(-)
> >
> > diff --git a/package/rcw/rcw.hash b/package/rcw/rcw.hash
> > index 7de1ec659a..76b6373942 100644
> > --- a/package/rcw/rcw.hash
> > +++ b/package/rcw/rcw.hash
> > @@ -1,3 +1,3 @@
> >  # Locally calculated
> > -sha256 1421ada9fec10b12ff21cd9ad82f0a835b191cb2dde80f03547764574b1346c3
> rcw-LSDK-18.12.tar.gz
> > +sha256 b69a6a8b187ba794e0af716a509ced2bbac83da0f6e94b5c7331a34619db21b1
> rcw-LSDK-19.09.tar.gz
> >  sha256 a531b3146425e592db17a51ff39c4801cb01fb4055ffdaada0572decc0655bcd
> LICENSE
> > diff --git a/package/rcw/rcw.mk b/package/rcw/rcw.mk
> > index dbfeae7b21..928135abfc 100644
> > --- a/package/rcw/rcw.mk
> > +++ b/package/rcw/rcw.mk
> > @@ -4,13 +4,13 @@
> >  #
> >
> ################################################################################
> >
> > -RCW_VERSION = LSDK-18.12
> > +RCW_VERSION = LSDK-19.09
> >  RCW_SITE =
> https://source.codeaurora.org/external/qoriq/qoriq-components/rcw
> >  RCW_SITE_METHOD = git
> >  RCW_LICENSE = BSD-3-Clause
> >  RCW_LICENSE_FILES = LICENSE
> >
> > -HOST_RCW_DEPENDENCIES = host-python
> > +HOST_RCW_DEPENDENCIES = host-python3
>
> As far as I can see, that's not what Thomas requested in his previous
> review http://lists.busybox.net/pipermail/buildroot/2020-March/277531.html
>
> Thomas requested that the bump be split in two changes:
>
>   - a first patch that does not update the version, but adds the missing
>     dependency to host-python, making sure to use by replacing the call
>     to 'python' by a call to $(HOST_DIR)/bin/python, so that we can
>     backport that fix into our LTS branch, 2020.02;
>
>   - a second patch that does the version bump, and in the process,
>     changes the dependency on host-python to using the conditional
>     depednency set in the variable $(BR2_PYTHON3_HOST_DEPENDENCY).
>
> If you have issues with the above, then do not hesitate to explain your
> concerns, instead of re-sending almost exactly the same change.
>
> In the meantime, I've marked the patch as changes-requested in patchwork.
>
> Regards,
> Yann E. MORIN.
>
> >  RCW_FILES = $(call qstrip,$(BR2_PACKAGE_HOST_RCW_CUSTOM_PATH))
> >
> > @@ -41,7 +41,7 @@ endef
> >  HOST_RCW_POST_PATCH_HOOKS += HOST_RCW_ADD_CUSTOM_RCW_FILES
> >
> >  define HOST_RCW_BUILD_CMDS
> > -     $(HOST_DIR)/bin/python $(@D)/rcw.py \
> > +     $(HOST_DIR)/bin/python3 $(@D)/rcw.py \
> >               -i $(@D)/custom_board/rcw/$(RCW_PROJECT) \
> >               -I $(@D)/custom_board -o $(@D)/PBL.bin
> >  endef
> > --
> > 2.20.1
> >
> > _______________________________________________
> > buildroot mailing list
> > buildroot at busybox.net
> > http://lists.busybox.net/mailman/listinfo/buildroot
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___
>      |
> | +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is
> no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v
>  conspiracy.  |
>
> '------------------------------^-------^------------------^--------------------'
>


-- 
Laurent HARTANEROT
Laurent.Hartanerot at gmail.com
tel : 06 49 14 93 74
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200322/8f66a89c/attachment.html>


More information about the buildroot mailing list