X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=meta-agl-bsp%2Fmeta-ti%2Frecipes-bsp%2Fu-boot%2Fu-boot-ti-staging_%25.bbappend;h=d1b9b27042cd322ef129e3344b30a8c090761ef4;hb=2e3bd87950bd010eb9ce0ca9677a4a3e928a0002;hp=629667805ba3cea7f5b6942dc272e169a2de5291;hpb=61baed2387ceb17c2831a720f1fd0eafdd9ae8ff;p=AGL%2Fmeta-agl.git diff --git a/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend b/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend index 629667805..d1b9b2704 100644 --- a/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend +++ b/meta-agl-bsp/meta-ti/recipes-bsp/u-boot/u-boot-ti-staging_%.bbappend @@ -1,9 +1,16 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:" -# This applies to the JACINTO 6 vayu board ... essentially it is dra7_evm. -SRC_URI_vayu += "file://fix_builderror_gcc5.patch" +PR_append = "_agl" -BRANCH = "p-ti-u-boot-2016.05" -SRC_URI = "git://git.omapzoom.org/repo/u-boot.git;protocol=git;branch=${BRANCH}" -SRCREV = "${AUTOREV}" +SRC_URI += " file://${UBOOT_ENV_BINARY}" + +UBOOT_ENV = "uEnv" + +do_deploy_append () { + if [ "x${UBOOT_ENV}" != "x" ] + then + install ${WORKDIR}/${UBOOT_ENV_BINARY} ${DEPLOYDIR}/${UBOOT_ENV_IMAGE} + ln -sf ${UBOOT_ENV_IMAGE} ${DEPLOYDIR}/${UBOOT_ENV_SYMLINK} + fi +}