u-boot: fix build of version 2009.08 for MX5

The setlocalversion script in u-boot 2009.08 did not have the
'--save-scmversion' parameter so the build was failing.

But for that version the whole do_compile_prepend can be removed because
it's not needed at all.

While on it, update the revisions for versions 2009.08 and 2013.01 to
include a fix done in 'setlocalversion' script.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-03-31 17:23:00 +02:00
parent 7051b62726
commit 5b9cb62599
3 changed files with 2 additions and 6 deletions

View File

@ -3,7 +3,7 @@
SRCBRANCH = "master"
SRCREV_external = ""
SRCREV_internal = "bd56e767e8fafc3b663877ba4c7009f706389acd"
SRCREV_internal = "b23ff7f11a0577037becc20bbcfe61640fe87fb4"
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git"

View File

@ -3,7 +3,7 @@
SRCBRANCH = "v2013.01/master"
SRCREV_external = ""
SRCREV_internal = "958e055c9e4c0b3092097a865335bc743c2abce1"
SRCREV_internal = "181c8eddf0cee183d317ad400b5d01dce3c2dbe6"
SRCREV = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRCREV_internal}', '${SRCREV_external}', d)}"
SRC_URI_external = "${DIGI_GITHUB_GIT}/yocto-uboot.git;protocol=git"

View File

@ -20,9 +20,5 @@ DEPENDS_mxs += "elftosb-native imx-bootlets-dey"
EXTRA_OEMAKE += 'HOSTSTRIP=true'
EXTRA_OEMAKE_append_mxs = ' BOOTLETS_DIR=${STAGING_DIR_TARGET}/boot'
do_compile_prepend() {
${S}/tools/setlocalversion --save-scmversion ${S}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(mxs|mx5)"