mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
boot: allow bootmeth-distro without CONFIG_NET
Remove the dependency on CMD_PXE from BOOTMETH_DISTRO by introducing a new hidden kconfig symbol to control whether pxe_utils is compiled, allowing bootstd's distro method to be compiled without needing networking support enabled. Signed-off-by: John Keeping <john@metanate.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org> Correct build errors when CMD_BOOTM is not enabled: Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5d1637a40c
commit
be43a35bff
5 changed files with 13 additions and 7 deletions
|
@ -148,9 +148,9 @@ int cmd_get_data_size(char *arg, int default_size);
|
|||
int do_bootd(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[]);
|
||||
#endif
|
||||
#ifdef CONFIG_CMD_BOOTM
|
||||
int do_bootm(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
char *const argv[]);
|
||||
#ifdef CONFIG_CMD_BOOTM
|
||||
int bootm_maybe_autostart(struct cmd_tbl *cmdtp, const char *cmd);
|
||||
#else
|
||||
static inline int bootm_maybe_autostart(struct cmd_tbl *cmdtp, const char *cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue