mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
40a09be2e9
MIPS EL boards should define CONFIG_USE_PRIVATE_LIBGCC=y to work with EB-only toolchains like the one from kernel.org. If one do not globally set CONFIG_USE_PRIVATE_LIBGCC=y, the build fails with: /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): compiled for a big endian system and target is little endian /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o): endianness incompatible with that of the selected emulation /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_lshrdi3.o) /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): compiled for a big endian system and target is little endian /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o): endianness incompatible with that of the selected emulation /opt/gcc-4.9.0-nolibc/mips-linux/bin/mips-linux-ld.bfd: failed to merge target specific data of file /opt/gcc-4.9.0-nolibc/mips-linux/bin/../lib/gcc/mips-linux/4.9.0/libgcc.a(_ashldi3.o) /work/git-trees/u-boot-mips/Makefile:1171: recipe for target 'u-boot' failed One example for a failing build is Travis CI. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Purna Chandra Mandal <purna.mandal@microchip.com>
34 lines
779 B
Text
34 lines
779 B
Text
CONFIG_MIPS=y
|
|
CONFIG_SYS_MALLOC_F_LEN=0x600
|
|
CONFIG_DM_SERIAL=y
|
|
CONFIG_DM_GPIO=y
|
|
CONFIG_MACH_PIC32=y
|
|
# CONFIG_MIPS_BOOT_ENV_LEGACY is not set
|
|
CONFIG_MIPS_BOOT_FDT=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="pic32mzda_sk"
|
|
CONFIG_HUSH_PARSER=y
|
|
CONFIG_SYS_PROMPT="dask # "
|
|
# CONFIG_CMD_IMLS is not set
|
|
# CONFIG_CMD_SAVEENV is not set
|
|
CONFIG_LOOPW=y
|
|
CONFIG_CMD_MEMTEST=y
|
|
CONFIG_CMD_MEMINFO=y
|
|
# CONFIG_CMD_FLASH is not set
|
|
# CONFIG_CMD_FPGA is not set
|
|
CONFIG_CMD_GPIO=y
|
|
CONFIG_CMD_RARP=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_PING=y
|
|
CONFIG_CMD_TIME=y
|
|
CONFIG_OF_EMBED=y
|
|
CONFIG_NET_RANDOM_ETHADDR=y
|
|
CONFIG_CLK=y
|
|
CONFIG_DM_MMC=y
|
|
CONFIG_PIC32_SDHCI=y
|
|
CONFIG_DM_ETH=y
|
|
CONFIG_PIC32_ETH=y
|
|
CONFIG_PINCTRL=y
|
|
# CONFIG_PINCTRL_FULL is not set
|
|
CONFIG_USE_PRIVATE_LIBGCC=y
|
|
CONFIG_USE_TINY_PRINTF=y
|
|
CONFIG_CMD_DHRYSTONE=y
|