summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2016-10-08 07:00:00 +0000
committerDenys Dmytriyenko <denys@ti.com>2016-10-07 21:01:21 -0400
commit6cb779a6ba1b0693f6bf82777e1a333effe6fca5 (patch)
tree26db85f9741a00b9f698c0b57646ffe13e28fee0
parentb494d93a702c7aba6f61707280d2508736dca68c (diff)
downloadmeta-ti-6cb779a6ba1b0693f6bf82777e1a333effe6fca5.tar.gz
u-boot-ti-staging: also copy HS MLO variantti2016.04
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb17
1 files changed, 16 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
index 0facc23d..38f58f7d 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
@@ -7,7 +7,7 @@ DESCRIPTION = "u-boot bootloader for TI devices"
7 7
8LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" 8LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6"
9 9
10PR = "r20" 10PR = "r21"
11PV_append = "+git${SRCPV}" 11PV_append = "+git${SRCPV}"
12 12
13SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" 13SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}"
@@ -46,6 +46,11 @@ UBOOT_HS_XLD_BINARY = "u-boot-spl_HS_X-LOADER"
46UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}" 46UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}"
47UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}" 47UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}"
48 48
49# HS MLO
50UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
51UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
52UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
53
49do_compile_append_am437x-hs-evm () { 54do_compile_append_am437x-hs-evm () {
50 if [ -f ${S}/u-boot-spl_HS_ISSW ]; then 55 if [ -f ${S}/u-boot-spl_HS_ISSW ]; then
51 rm -rf ${S}/MLO 56 rm -rf ${S}/MLO
@@ -58,6 +63,10 @@ do_install_append () {
58 install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE} 63 install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
59 ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY} 64 ln -sf ${UBOOT_HS_XLD_IMAGE} ${D}/boot/${UBOOT_HS_XLD_BINARY}
60 fi 65 fi
66 if [ -f ${S}/${UBOOT_HS_MLO_BINARY} ]; then
67 install ${S}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
68 ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
69 fi
61} 70}
62 71
63do_deploy_append () { 72do_deploy_append () {
@@ -67,6 +76,12 @@ do_deploy_append () {
67 ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK} 76 ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_SYMLINK}
68 ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY} 77 ln -sf ${UBOOT_HS_XLD_IMAGE} ${UBOOT_HS_XLD_BINARY}
69 fi 78 fi
79 if [ -f ${S}/${UBOOT_HS_MLO_BINARY} ]; then
80 install ${S}/${UBOOT_HS_MLO_BINARY} ${DEPLOYDIR}/${UBOOT_HS_MLO_IMAGE}
81 rm -f ${UBOOT_HS_MLO_BINARY} ${UBOOT_HS_MLO_SYMLINK}
82 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
83 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
84 fi
70} 85}
71 86
72do_install_append_keystone () { 87do_install_append_keystone () {