mirror of
https://xff.cz/git/u-boot/
synced 2025-10-18 08:23:24 +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:
@@ -31,8 +31,6 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
#if defined(CONFIG_CMD_DATE)
|
||||
|
||||
const char *weekdays[] = {
|
||||
"Sun", "Mon", "Tues", "Wednes", "Thurs", "Fri", "Satur",
|
||||
};
|
||||
@@ -210,5 +208,3 @@ U_BOOT_CMD(
|
||||
" - with numeric argument: set the system date & time\n"
|
||||
" - with 'reset' argument: reset the RTC\n"
|
||||
);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user