[OE-core] [RFC][PATCH v2 2/4] u-boot: deploy u-boot-nodtb and dtb files
Denys Dmytriyenko
denis at denix.org
Wed Apr 20 19:51:20 UTC 2016
On Wed, Apr 20, 2016 at 03:50:37PM +0200, Yannick Gicquel wrote:
> This enable the deployment of u-boot-nodtb.bin and u-boot.dtb files.
>
> Signed-off-by: Yannick Gicquel <yannick.gicquel at iot.bzh>
> ---
> meta/classes/uboot-sign.bbclass | 16 ++++++++++++++++
> 1 file changed, 16 insertions(+)
>
> diff --git a/meta/classes/uboot-sign.bbclass b/meta/classes/uboot-sign.bbclass
> index 63a5181..adb24d4 100644
> --- a/meta/classes/uboot-sign.bbclass
> +++ b/meta/classes/uboot-sign.bbclass
> @@ -38,6 +38,22 @@ UBOOT_NODTB_SYMLINK ?= "u-boot-nodtb-${MACHINE}.${UBOOT_SUFFIX}"
> # Following is relevant only for u-boot recipes:
> #
>
> +do_deploy_append_pn-u-boot () {
Same question here about _pn-u-boot.
> + # OF_SEPARATE generated files deployment
> + if [ -f ${B}/${UBOOT_DTB_BINARY} ]; then
> + install ${B}/${UBOOT_DTB_BINARY} ${DEPLOYDIR}/${UBOOT_DTB_IMAGE}
> + rm -f ${UBOOT_DTB_BINARY} ${UBOOT_DTB_SYMLINK}
> + ln -sf ${UBOOT_DTB_IMAGE} ${UBOOT_DTB_SYMLINK}
> + ln -sf ${UBOOT_DTB_IMAGE} ${UBOOT_DTB_BINARY}
> + fi
> + if [ -f ${B}/${UBOOT_NODTB_BINARY} ]; then
> + install ${B}/${UBOOT_NODTB_BINARY} ${DEPLOYDIR}/${UBOOT_NODTB_IMAGE}
> + rm -f ${UBOOT_NODTB_BINARY} ${UBOOT_NODTB_SYMLINK}
> + ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_SYMLINK}
> + ln -sf ${UBOOT_NODTB_IMAGE} ${UBOOT_NODTB_BINARY}
> + fi
> +}
> +
> do_install_prepend_pn-u-boot () {
> # Concatenate U-Boot w/o DTB & DTB with public key
> # (cf. kernel-fitimage.bbclass for more details)
> --
> 1.9.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
More information about the Openembedded-core
mailing list