diff options
author | Denys Dmytriyenko <denys@ti.com> | 2016-10-08 07:00:00 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2016-10-07 21:01:34 -0400 |
commit | 02a43b25f76fe89c17e1de140e35a4c2272cd580 (patch) | |
tree | 76af7bc8ba4e6de0fedf72e0823098146a240c8c /recipes-bsp/u-boot | |
parent | e68a4572bd2dfec744e293e568132bfb71a6c7dc (diff) | |
download | meta-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.bb | 17 |
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 | ||
8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" | 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" |
9 | 9 | ||
10 | PR = "r20" | 10 | PR = "r21" |
11 | PV_append = "+git${SRCPV}" | 11 | PV_append = "+git${SRCPV}" |
12 | 12 | ||
13 | SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" | 13 | SRC_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" | |||
46 | UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}" | 46 | UBOOT_HS_XLD_IMAGE = "u-boot-spl_HS_X-LOADER-${MACHINE}-${PV}-${PR}" |
47 | UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}" | 47 | UBOOT_HS_XLD_SYMLINK = "u-boot-spl_HS_X-LOADER-${MACHINE}" |
48 | 48 | ||
49 | # HS MLO | ||
50 | UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO" | ||
51 | UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}" | ||
52 | UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}" | ||
53 | |||
49 | do_compile_append_am437x-hs-evm () { | 54 | do_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 | ||
63 | do_deploy_append () { | 72 | do_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 | ||
72 | do_install_append_keystone () { | 87 | do_install_append_keystone () { |