diff mbox

[U-Boot,4/4] microblaze: Fix compilation failure because of missing libdts

Message ID 1349441933-22840-4-git-send-email-monstr@monstr.eu
State Accepted
Delegated to: Michal Simek
Headers show

Commit Message

Michal Simek Oct. 5, 2012, 12:58 p.m. UTC
Protect dts/libdts.o by CONFIG_OF_EMBED.

Signed-off-by: Michal Simek <monstr@monstr.eu>
---
 arch/microblaze/cpu/u-boot.lds |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Marek Vasut Oct. 5, 2012, 4:51 p.m. UTC | #1
Dear Michal Simek,

> Protect dts/libdts.o by CONFIG_OF_EMBED.

Better commit message would really help ... esp. if you could explain the 
problem.

> Signed-off-by: Michal Simek <monstr@monstr.eu>
> ---
>  arch/microblaze/cpu/u-boot.lds |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/microblaze/cpu/u-boot.lds
> b/arch/microblaze/cpu/u-boot.lds index d033a28..349d36a 100644
> --- a/arch/microblaze/cpu/u-boot.lds
> +++ b/arch/microblaze/cpu/u-boot.lds
> @@ -45,7 +45,9 @@ SECTIONS
>  	.data ALIGN(0x4):
>  	{
>  		__data_start = .;
> +#ifdef CONFIG_OF_EMBED
>  		dts/libdts.o (.data)
> +#endif
>  		*(.data)
>  		__data_end = .;
>  	}

Best regards,
Marek Vasut
diff mbox

Patch

diff --git a/arch/microblaze/cpu/u-boot.lds b/arch/microblaze/cpu/u-boot.lds
index d033a28..349d36a 100644
--- a/arch/microblaze/cpu/u-boot.lds
+++ b/arch/microblaze/cpu/u-boot.lds
@@ -45,7 +45,9 @@  SECTIONS
 	.data ALIGN(0x4):
 	{
 		__data_start = .;
+#ifdef CONFIG_OF_EMBED
 		dts/libdts.o (.data)
+#endif
 		*(.data)
 		__data_end = .;
 	}