From: Drew Moseley <drew.mose...@mender.io> Signed-off-by: Drew Moseley <drew.mose...@mender.io> --- conf/machine/chip.conf | 1 + recipes-bsp/u-boot/u-boot-chip_git.bb | 6 ++++++ 2 files changed, 7 insertions(+)
diff --git a/conf/machine/chip.conf b/conf/machine/chip.conf index dad1bdb..f053976 100644 --- a/conf/machine/chip.conf +++ b/conf/machine/chip.conf @@ -21,6 +21,7 @@ KERNEL_IMAGETYPE = "zImage" KERNEL_DEVICETREE = "sun5i-r8-chip.dtb" SPL_BINARY = "sunxi-spl.bin" +SPL_ECC_BINARY = "sunxi-spl-with-ecc.bin" UBOOT_BINARY = "u-boot-dtb.bin" UBOOT_MACHINE = "CHIP_defconfig" diff --git a/recipes-bsp/u-boot/u-boot-chip_git.bb b/recipes-bsp/u-boot/u-boot-chip_git.bb index 8e2be50..6de2e9d 100644 --- a/recipes-bsp/u-boot/u-boot-chip_git.bb +++ b/recipes-bsp/u-boot/u-boot-chip_git.bb @@ -19,7 +19,13 @@ SRC_URI = " \ S = "${WORKDIR}/git" do_compile_append() { + install ${B}/spl/${SPL_ECC_BINARY} ${B}/${SPL_ECC_BINARY} install ${B}/spl/${SPL_BINARY} ${B}/${SPL_BINARY} } COMPATIBLE_MACHINE = "chip" + +do_deploy_append() { + install -m 644 ${B}/${SPL_ECC_BINARY} ${DEPLOYDIR}/${SPL_ECC_BINARY}-${PV}-${PR} + ln -sf ${SPL_ECC_BINARY}-${PV}-${PR} ${DEPLOYDIR}/${SPL_ECC_BINARY} +} -- 2.7.4 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto