[U-Boot] [U-Boot, v2, 8/8] spl: disk: usb: Add dependencies to sprintf/strto*
Tom Rini
trini at konsulko.com
Sun Apr 29 21:04:16 UTC 2018
On Thu, Apr 19, 2018 at 04:32:57AM +0000, Alex Kiernan wrote:
> If SPL serial support is disabled nothing brings in sprintf, snprintf
> or simple_strtoul:
>
> env/built-in.o: In function `regex_callback':
> env/attr.c:128: undefined reference to `sprintf'
> disk/built-in.o: In function `blk_get_device_by_str':
> disk/part.c:386: undefined reference to `simple_strtoul'
> disk/part.c:395: undefined reference to `simple_strtoul'
> disk/built-in.o: In function `blk_get_device_part_str':
> disk/part.c:522: undefined reference to `simple_strtoul'
> disk/built-in.o: In function `part_set_generic_name':
> disk/part.c:704: undefined reference to `sprintf'
> drivers/built-in.o: In function `init_peripheral_ep':
> drivers/usb/musb-new/musb_gadget.c:1826: undefined reference to `sprintf'
> drivers/built-in.o: In function `musb_core_init':
> drivers/usb/musb-new/musb_core.c:1451: undefined reference to `snprintf'
>
> Add those dependencies here.
>
> Signed-off-by: Alex Kiernan <alex.kiernan at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180429/e5bb2429/attachment.sig>
More information about the U-Boot
mailing list