From: Michal Simek Date: Wed, 26 Sep 2012 12:24:05 +0000 (+0200) Subject: microblaze: Fix compilation failure because of missing libdts X-Git-Tag: v2013.01-rc2~143^2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b3e5cd17f6e180642efafb20bcda948c3cbcff10;p=oweals%2Fu-boot.git microblaze: Fix compilation failure because of missing libdts Microblaze platform can use CONFIG_OF_EMBED option but also it is necessary to support boards which don't want to use this option. U-Boot doesn't compile dts/libdts.o for #undef CONFIG_OF_EMBED case that's why it should be guarded by ifdef. Signed-off-by: Michal Simek --- diff --git a/arch/microblaze/cpu/u-boot.lds b/arch/microblaze/cpu/u-boot.lds index 4297b93443..fe3d97dad8 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 = .; }