]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/glsdk-u-boot.git/commitdiff
microblaze: Fix compilation failure because of missing libdts
authorMichal Simek <monstr@monstr.eu>
Wed, 26 Sep 2012 12:24:05 +0000 (14:24 +0200)
committerMichal Simek <monstr@monstr.eu>
Thu, 8 Nov 2012 09:33:19 +0000 (10:33 +0100)
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 <monstr@monstr.eu>
arch/microblaze/cpu/u-boot.lds

index 4297b9344313af12b181ae084a109e88dc8afe8c..fe3d97dad88218bcad7811cfc420dbb6ffe56067 100644 (file)
@@ -45,7 +45,9 @@ SECTIONS
        .data ALIGN(0x4):
        {
                __data_start = .;
+#ifdef CONFIG_OF_EMBED
                dts/libdts.o (.data)
+#endif
                *(.data)
                __data_end = .;
        }