[yocto] [meta-raspberrypi][PATCH] u-boot: Fix appending to RDEPENDS

Andrei Gherzan andrei at gherzan.ro
Sat Nov 12 10:48:50 PST 2016


On Wed, Nov 02, 2016 at 12:46:47AM +1100, Jonathan Liu wrote:
> The += operator should not be used in combination with overrides as it
> will clear any existing values in the variable.
>
> Example:
> FOO = "bar"
> FOO_rpi += "baz"
>
> The above example would result in FOO being equal to " baz" instead of
> "bar baz".
>
> The bbappend is changed to use a wildcard instead of a specific version
> to simplify updating U-Boot.
>
> Signed-off-by: Jonathan Liu <net147 at gmail.com>
> ---
>  recipes-bsp/u-boot/u-boot_%.bbappend       | 1 +
>  recipes-bsp/u-boot/u-boot_2016.03.bbappend | 1 -
>  2 files changed, 1 insertion(+), 1 deletion(-)
>  create mode 100644 recipes-bsp/u-boot/u-boot_%.bbappend
>  delete mode 100644 recipes-bsp/u-boot/u-boot_2016.03.bbappend
>
> diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend
> new file mode 100644
> index 0000000..3781666
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot_%.bbappend
> @@ -0,0 +1 @@
> +RDEPENDS_${PN}_append_rpi = " rpi-u-boot-scr"
> diff --git a/recipes-bsp/u-boot/u-boot_2016.03.bbappend b/recipes-bsp/u-boot/u-boot_2016.03.bbappend
> deleted file mode 100644
> index 35dfc37..0000000
> --- a/recipes-bsp/u-boot/u-boot_2016.03.bbappend
> +++ /dev/null
> @@ -1 +0,0 @@
> -RDEPENDS_${PN}_rpi += "rpi-u-boot-scr"
> --
> 2.10.1
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Merged to master. Thanks.
--
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20161112/c30721b1/attachment.pgp>


More information about the yocto mailing list