[meta-freescale] Adding WF and BT firmware instalation

Otavio Salvador otavio.salvador at ossystems.com.br
Tue Aug 9 11:03:28 PDT 2016


Hello Daiane,

On Tue, Aug 9, 2016 at 2:23 PM, Daiane Angolini <daiane.list at gmail.com> wrote:
> I'm working to install the firmware from [1], however we already have
> a firmare-imx recipe, so I'm trying to expand this instead of adding
> one more recipe.

It does make sense and avoid polluting the recipe pool.

> I have created the patch in [2]. But I'm not completely happy with the
> copy command using a "complex relative" patch (the cp ../git/***) and
> I feel there is a better way to use 2 different sources for the
> package.
>
> The patch's effect on packages-split is in [3]
>
> Can someone help me to improve my patch?
>
> [1] http://git.freescale.com/git/cgit.cgi/imx/imx-firmware.git/
> [2] http://pastebin.com/QR9PU2w5
> [3] http://pastebin.com/hVMP88yD

You can use the multiple Git fetch support for it. You can do like:

SRC_URI = "\
    git://foo;name=foo \
    git://bar;name=bar;destsuffix=bardestdir \
"

SRCREV_FORMAT = "foo_bar"

So the bar will be unpack inside the destdirsuffix; does it help?

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


More information about the meta-freescale mailing list