summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/files
Commit message (Collapse)AuthorAgeFilesLines
* u-boot-qoriq: add -fgnu89-inline option for gcc5Ting Liu2015-07-291-0/+39
| | | | | | | | | | | | | | | | Fix the below build issues: CC drivers/crypto/fsl/sec.o LD arch/powerpc/cpu/mpc8xxx/built-in.o arch/powerpc/cpu/mpc8xxx/fdt.o: In function `ld_le16': ../arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16' The problem is the change of the default C standard from gnu89 to gnu11 which changes the semantics of 'inline'. The issue is described in the Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the '-fgnu89-inline' option fixes the issue. Signed-off-by: Ting Liu <ting.liu@freescale.com> Acked-by: Otavio Salvador <otavio@ossystems.com.br>
* u-boot-qoriq: Add linux/compiler-gcc5.h to fix builds with gcc5Ting Liu2015-07-291-0/+91
| | | | Signed-off-by: Ting Liu <ting.liu@freescale.com>
* u-boot-qoriq: fix the build issue with binutils-2.25Zhenhua Luo2015-03-311-0/+77
| | | | | | | | | | | | | | | | | | | | Remove _GLOBAL_OFFSET_TABLE_ definition from u-boot/mpc85xx/u-boot*.lds In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in u-boot.lds overrides the linker built-in symbols (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=b893397a4b1316610f49819344817715e4305de9), so the linker is treating _GLOBAL_OFFSET_TABLE_ as a definition into the .reloc section. To align with the change of binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbol should not be defined in sections, and the symbols in linker generated .got section should be used(https://sourceware.org/ml/binutils/2008-09/msg00122.html). Fixed the following build errors with binutils-2.25: | powerpc-poky-linux-gnuspe-ld.bfd: _GLOBAL_OFFSET_TABLE_ not defined in linker created .got [YOCTO #7145] Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
* u-boot: fix depend race issue of u-boot-NAND.bin buildZhenhua Luo2013-09-241-0/+38
| /srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/P1022DS_NAND/spl/arch/powerpc/cpu/mpc85xx/.depend:125: *** missing separator. Stop. | make[3]: Leaving directory `/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/arch/powerpc/cpu/mpc85xx' | make[2]: *** [/srv/home/pokybuild/yocto-autobuilder-new/yocto-slave/nightly-fsl-ppc/build/build/tmp/work/p1022ds-poky-linux-gnuspe/u-boot/git-r30/git/P1022DS_NAND/spl/arch/powerpc/cpu/mpc85xx/start.o] Error 2 Fixed [Bug 5239]. Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>