mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00: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:
parent
2f155f6c0a
commit
4a43719a77
39 changed files with 46 additions and 198 deletions
|
@ -48,8 +48,6 @@
|
|||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if defined(CONFIG_LOGBUFFER)
|
||||
|
||||
/* Local prototypes */
|
||||
static void logbuff_putc (const char c);
|
||||
static void logbuff_puts (const char *s);
|
||||
|
@ -287,5 +285,3 @@ static int logbuff_printk(const char *line)
|
|||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
#endif /* (CONFIG_LOGBUFFER) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue