mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +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:
@@ -27,8 +27,6 @@
|
||||
#include <common.h>
|
||||
#include <command.h>
|
||||
|
||||
#if defined(CONFIG_CMD_MISC)
|
||||
|
||||
int do_sleep (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
|
||||
{
|
||||
ulong start = get_timer(0);
|
||||
@@ -68,5 +66,3 @@ U_BOOT_CMD(
|
||||
"N\n"
|
||||
" - delay execution for N seconds (N is _decimal_ !!!)\n"
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user