mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
[BUILD] conditionally compile common/cmd_*.c in common/Makefile
Modify common/Makefile to conditionally compile the cmd_*.c files based on the board config. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
@@ -28,8 +28,6 @@
|
||||
#include <command.h>
|
||||
#include <net.h>
|
||||
|
||||
#if defined(CONFIG_CMD_NET)
|
||||
|
||||
extern int do_bootm (cmd_tbl_t *, int, int, char *[]);
|
||||
|
||||
static int netboot_common (proto_t, cmd_tbl_t *, int , char *[]);
|
||||
@@ -343,5 +341,3 @@ U_BOOT_CMD(
|
||||
"[NTP server IP]\n"
|
||||
);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user