diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-05-16 20:29:02 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2016-05-16 20:29:02 -0700 |
commit | 6a1844a415247a389fafa4e0d2890ba349ae5d7a (patch) | |
tree | 99b2057dc30f19abc55a0a54e24e4744605c0198 /recipes-bsp | |
parent | 52fcf5b82bb7f85ea79602284c11765177637d86 (diff) | |
download | meta-altera-6a1844a415247a389fafa4e0d2890ba349ae5d7a.tar.gz |
kernel,u-boot: Fix builds for max10/nios2
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/u-boot/u-boot-socfpga_2016.03.bb | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-socfpga_2016.03.bb b/recipes-bsp/u-boot/u-boot-socfpga_2016.03.bb index 9189715..55f143e 100644 --- a/recipes-bsp/u-boot/u-boot-socfpga_2016.03.bb +++ b/recipes-bsp/u-boot/u-boot-socfpga_2016.03.bb | |||
@@ -11,5 +11,22 @@ PV_append = "+git${SRCPV}" | |||
11 | 11 | ||
12 | DEPENDS += "dtc-native" | 12 | DEPENDS += "dtc-native" |
13 | 13 | ||
14 | do_install_append_10m50 () { | ||
15 | if [ "x${UBOOT_CONFIG}" != "x" ] | ||
16 | then | ||
17 | for config in ${UBOOT_MACHINE}; do | ||
18 | install -d ${D}/boot | ||
19 | install ${B}/${config}/${UBOOT_DTB_BINARY} ${D}/boot/${UBOOT_DTB_BINARY} | ||
20 | install ${B}/${config}/${UBOOT_NODTB_BINARY} ${D}/boot/${UBOOT_NODTB_BINARY} | ||
21 | done | ||
22 | else | ||
23 | install -d ${D}/boot | ||
24 | install ${B}/${config}/${UBOOT_DTB_BINARY} ${D}/boot/${UBOOT_DTB_BINARY} | ||
25 | install ${B}/${config}/${UBOOT_NODTB_BINARY} ${D}/boot/${UBOOT_NODTB_BINARY} | ||
26 | fi | ||
27 | } | ||
14 | 28 | ||
15 | 29 | do_deploy_append_10m50 () { | |
30 | install ${D}/boot/${UBOOT_DTB_BINARY} ${DEPLOYDIR}/${UBOOT_DTB_BINARY} | ||
31 | install ${D}/boot/${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_BINARY} | ||
32 | } | ||