此配置選項是使用make menuconfig
描述爲
CONFIG_CMD_NET:
Network commands.
bootp - boot image via network using BOOTP/TFTP protocol
tftpboot - boot image via network using TFTP protocol
Symbol: CMD_NET [=y]
Type : boolean
Prompt: bootp, tftpboot
Location:
-> Command line interface
-> Network commands
Defined at cmd/Kconfig:403
Selects: NET [=n]
您可以禁用CMD_NET。
Command line interface
Network commands
[*] bootp, tftpboot
您還可以硬編碼配置在主板的配置文件,如自述文件中建議:
EXAMPLE: If you want all functions except for network support you can write:
#include "config_cmd_all.h"
#undef CONFIG_CMD_NET