[meta-freescale] [meta-fsl-arm-extra][PATCH v3 1/3] cubox-i: add u-boot fork for cubox-i machines

Otavio Salvador otavio at ossystems.com.br
Mon Jan 27 04:00:40 PST 2014


Hello Carlos,

On Mon, Jan 27, 2014 at 9:36 AM, Carlos Rafael Giani
<dv at pseudoterminal.org> wrote:
> On 2014-01-24 22:44, Otavio Salvador wrote:
>>>
>>> +SRC_URI = " \
>>> +    git://github.com/rabeeh/u-boot-imx6.git;branch=imx6 \
>>> +    file://uEnv.txt \
>>> +    "
>>> +
>>> +S = "${WORKDIR}/git"
>>> +
>>> +PACKAGE_ARCH = "${MACHINE_ARCH}"
>>
>> At  end of file, just before COMPATIBLE_MACHINE.
>>
>
> Also SRC_URI at the end? Or just S and PACKAGE_ARCH? Because, in the
> u-boot-imx script, SRC_URI is not at the end..

No, just PACKAGE_ARCH.

> Before I re-send patches, let me show you the updated structure here:
>
>
> require recipes-bsp/u-boot/u-boot.inc
>
> LICENSE = "GPLv2+"
> LIC_FILES_CHKSUM =
> "file://Licenses/README;md5=bc069111b5e5b1ed8bed98ae73b596ec"
>
> PROVIDES += "u-boot"
>
> PV = "v2013.10+git${SRCPV}"
>
> SRCREV = "920ea0f20276614e11961924b1990b6c922c8d0e"
> SRC_URI = " \
>     git://github.com/rabeeh/u-boot-imx6.git;branch=imx6 \
>     file://uEnv.txt \
>     "
>
> UENV_FILENAME ?= "uEnv-${MACHINE}.txt"
>
> deploy_uenv () {
>
>     install ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/${UENV_FILENAME}
> }
>
> do_deploy[postfuncs] += "deploy_uenv"
>
> S = "${WORKDIR}/git"
>
> PACKAGE_ARCH = "${MACHINE_ARCH}"
> COMPATIBLE_MACHINE = "cubox-i"
>
>
> Is this okay?

No:

 require recipes-bsp/u-boot/u-boot.inc

 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM =
 "file://Licenses/README;md5=bc069111b5e5b1ed8bed98ae73b596ec"

 PROVIDES += "u-boot"

 PV = "v2013.10+git${SRCPV}"

 SRCREV = "920ea0f20276614e11961924b1990b6c922c8d0e"
 SRC_URI = " \
     git://github.com/rabeeh/u-boot-imx6.git;branch=imx6 \
     file://uEnv.txt \
     "

 S = "${WORKDIR}/git"

 UENV_FILENAME ?= "uEnv-${MACHINE}.txt"

 deploy_uenv () {
     install ${WORKDIR}/uEnv.txt ${DEPLOYDIR}/${UENV_FILENAME}
 }

 do_deploy[postfuncs] += "deploy_uenv"

 PACKAGE_ARCH = "${MACHINE_ARCH}"
 COMPATIBLE_MACHINE = "cubox-i"


-- 
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