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

Carlos Rafael Giani dv at pseudoterminal.org
Mon Jan 27 03:36:34 PST 2014


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

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?


More information about the meta-freescale mailing list