summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
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:34 -0400
commit02a43b25f76fe89c17e1de140e35a4c2272cd580 (patch)
tree76af7bc8ba4e6de0fedf72e0823098146a240c8c /recipes-bsp/u-boot
parente68a4572bd2dfec744e293e568132bfb71a6c7dc (diff)
downloadmeta-ti-02a43b25f76fe89c17e1de140e35a4c2272cd580.tar.gz
u-boot-ti-staging: also copy HS MLO variant
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/u-boot')
-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 () {