From: Ulises Cardenas <b45798@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH][v2] iMX: Fix compilation error when enabling SECURE_BOOT
Date: Mon, 6 Apr 2015 09:28:18 -0500 [thread overview]
Message-ID: <55229802.1020204@freescale.com> (raw)
In-Reply-To: <1428305733-4136-1-git-send-email-gaurav.rana@freescale.com>
Hi Gaurav,
On 4/6/15 2:35 AM, Gaurav Rana wrote:
> Move the compilation of file fsl_validate.c in MACRO CONFIG_CMD_ESBC_VALIDATE.
> This file should be compiled only when the above MACRO is defined
>
> This caused a break in compilation of iMX platforms when compiling for SECURE_BOOT
>
> Signed-off-by: Gaurav Rana <gaurav.rana@freescale.com>
> ---
> Changes in V2:
> Corrected the commit message.
>
> board/freescale/common/Makefile | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/board/freescale/common/Makefile b/board/freescale/common/Makefile
> index 7181cac..87d0578 100644
> --- a/board/freescale/common/Makefile
> +++ b/board/freescale/common/Makefile
> @@ -74,8 +74,7 @@ obj-$(CONFIG_P5040DS) += p_corenet/
> obj-$(CONFIG_LS102XA_NS_ACCESS) += ns_access.o
>
> ifdef CONFIG_SECURE_BOOT
> -obj-y += fsl_validate.o
> -obj-$(CONFIG_CMD_ESBC_VALIDATE) += cmd_esbc_validate.o
> +obj-$(CONFIG_CMD_ESBC_VALIDATE) += fsl_validate.o cmd_esbc_validate.o
> endif
>
> endif
This fixes the issue. Tested on iMX6q and iMX6sx.
Regards,
Ulises Cardenas
next prev parent reply other threads:[~2015-04-06 14:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-06 7:35 [U-Boot] [PATCH][v2] iMX: Fix compilation error when enabling SECURE_BOOT Gaurav Rana
2015-04-06 14:28 ` Ulises Cardenas [this message]
2015-04-22 12:52 ` Stefano Babic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55229802.1020204@freescale.com \
--to=b45798@freescale.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.