mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Currently when building mxsboot on certain machines it reports: HOSTCC tools/mxsboot tools/mxsboot.c: In function 'mx28_create_sd_image': tools/mxsboot.c:560: warning: implicit declaration of function 'htole32' /tmp/cchLIV6q.o: In function 'main': mxsboot.c:(.text+0x6d8): undefined reference to 'htole32' mxsboot.c:(.text+0x6e7): undefined reference to 'htole32' mxsboot.c:(.text+0x6f6): undefined reference to 'htole32' mxsboot.c:(.text+0x705): undefined reference to 'htole32' mxsboot.c:(.text+0x711): undefined reference to 'htole32' /tmp/cchLIV6q.o:mxsboot.c:(.text+0x71d): more undefined references to 'htole32' follow collect2: ld returned 1 exit status make[1]: *** [tools/mxsboot] Error 1 make: *** [tools] Error 2 The solution is to use cpu_to_le32() instead which is more portable, just like other U-Boot tools [1] do. [1] http://lists.denx.de/pipermail/u-boot/2014-October/192919.html Suggested-by: Marek Vasut <marex@denx.de> Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Marek Vasut <marex@denx.de> |
||
|---|---|---|
| .. | ||
| buildman | ||
| easylogo | ||
| env | ||
| gdb | ||
| kermit | ||
| logos | ||
| omap | ||
| palmtreo680 | ||
| patman | ||
| scripts | ||
| .gitignore | ||
| aisimage.c | ||
| aisimage.h | ||
| atmel_pmecc_params.c | ||
| atmelimage.c | ||
| bin2header.c | ||
| bmp_logo.c | ||
| default_image.c | ||
| dumpimage.c | ||
| dumpimage.h | ||
| envcrc.c | ||
| fdt_host.h | ||
| fdtgrep.c | ||
| fit_check_sign.c | ||
| fit_common.c | ||
| fit_common.h | ||
| fit_image.c | ||
| fit_info.c | ||
| gen_eth_addr.c | ||
| genboardscfg.py | ||
| getline.c | ||
| getline.h | ||
| gpheader.h | ||
| gpimage-common.c | ||
| gpimage.c | ||
| ifdtool.c | ||
| ifdtool.h | ||
| image-host.c | ||
| imagetool.c | ||
| imagetool.h | ||
| img2brec.sh | ||
| img2srec.c | ||
| imximage.c | ||
| imximage.h | ||
| jtagconsole | ||
| kwbimage.c | ||
| kwbimage.h | ||
| kwboot.c | ||
| lpc32xximage.c | ||
| Makefile | ||
| microcode-tool | ||
| microcode-tool.py | ||
| mingw_support.c | ||
| mingw_support.h | ||
| mkenvimage.c | ||
| mkexynosspl.c | ||
| mkimage.c | ||
| mkimage.h | ||
| mksunxiboot.c | ||
| moveconfig.py | ||
| mxsboot.c | ||
| mxsimage.c | ||
| mxsimage.h | ||
| ncb.c | ||
| netconsole | ||
| omapimage.c | ||
| omapimage.h | ||
| os_support.c | ||
| os_support.h | ||
| pbl_crc32.c | ||
| pbl_crc32.h | ||
| pblimage.c | ||
| pblimage.h | ||
| proftool.c | ||
| relocate-rela.c | ||
| rkcommon.c | ||
| rkcommon.h | ||
| rkimage.c | ||
| rkmux.py | ||
| rksd.c | ||
| rkspi.c | ||
| socfpgaimage.c | ||
| ublimage.c | ||
| ublimage.h | ||
| ubsha1.c | ||
| xway-swap-bytes.c | ||
| zynqimage.c | ||