On Fri, Jun 29, 2018 at 02:02:24PM -0400, Jacob Stiffler wrote:
> * TBD: migrate existing methods to use this
>
> Signed-off-by: Jacob Stiffler <[email protected]>
> ---
> meta-arago-distro/classes/tisdk-image.bbclass | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/meta-arago-distro/classes/tisdk-image.bbclass
> b/meta-arago-distro/classes/tisdk-image.bbclass
> index 4ae3a80..d38166d 100644
> --- a/meta-arago-distro/classes/tisdk-image.bbclass
> +++ b/meta-arago-distro/classes/tisdk-image.bbclass
> @@ -52,6 +52,9 @@ EXTRA_TISDK_FILES ?= ""
> # Variable to specify the name of SPL
> DEPLOY_SPL_NAME ?= "MLO-${MACHINE}"
>
> +# Add generic method of adding prebuilt-images
> +DEPLOY_IMAGES_NAME ?= ""
Merged as is for now, but we should probably use *_NAMES vs. *_NAME to
indicate multi-entry lists vs. single entries.
> # Variable to specify the name of SPL/UART
> DEPLOY_SPL_UART_NAME ?= "u-boot-spl.bin-${MACHINE}"
>
> @@ -784,6 +787,17 @@ tisdk_image_build () {
> fi
> done
>
> + for image_name in ${DEPLOY_IMAGES_NAME}
> + do
> + if [ -e ${DEPLOY_DIR_IMAGE}/$image_name ]
> + then
> + cp ${DEPLOY_DIR_IMAGE}/$image_name ${prebuilt_dir}/
> + else
> + echo "Could not find image \"$image_name\""
> + return 1
> + fi
> + done
> +
> if [ "${DEPLOY_SPL_UART_NAME}" != "" ]
> then
> # Copy the SPL/UART image if it exists
> --
> 2.7.4
>
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago