[oe] [meta-oe][PATCH] stm32flash: add recipe

Anuj Mittal anuj.mittal at intel.com
Wed May 16 10:05:39 UTC 2018


On 05/16/2018 03:50 PM,
openembedded-devel-bounces at lists.openembedded.org wrote:
> Add recipe for version 0.5 of stm32flash, an open source flash program for
> STM32 using the ST serial bootloader.
> 
> Signed-off-by: Richard Leitner <richard.leitner at skidata.com>
> ---
>  meta-oe/recipes-support/stm32flash/stm32flash_0.5.bb | 16 ++++++++++++++++
>  1 file changed, 16 insertions(+)
>  create mode 100644 meta-oe/recipes-support/stm32flash/stm32flash_0.5.bb
> 
> diff --git a/meta-oe/recipes-support/stm32flash/stm32flash_0.5.bb b/meta-oe/recipes-support/stm32flash/stm32flash_0.5.bb
> new file mode 100644
> index 000000000..d401981ff
> --- /dev/null
> +++ b/meta-oe/recipes-support/stm32flash/stm32flash_0.5.bb
> @@ -0,0 +1,16 @@
> +SUMMARY = "Open source flash program for STM32 using the ST serial bootloader"
> +HOMEPAGE = "https://sourceforge.net/projects/stm32flash/"
> +BUGTRACKER = "https://sourceforge.net/p/stm32flash/tickets/"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
> +
> +inherit autotools-brokensep
> +
> +S = "${WORKDIR}/${PN}"

It should be BPN instead of PN, otherwise this will break with multilib.

> +
> +SRC_URI = "https://prdownloads.sourceforge.net/stm32flash/stm32flash-${PV}.tar.gz"

This can be https://prdownloads.sourceforge.net/${BPN}/${BP}.tar.gz



More information about the Openembedded-devel mailing list