config_common:
@ >include/config.h
@$(call include_add,soc/soc_list.h)
+ @$(call define_add,CONFIG_BUILD_DATE_UTC,$(shell date -u +"%Y-%m-%d"))
ar933x_common: unconfig config_common
@$(call define_add,CFG_AG7240_NMACS,2)
extern char version_string[];
puts("Version and build date:\n");
- printf(" %s\n " __DATE__ ", " __TIME__ "\n\n", version_string);
+ printf(" %s, " MK_STR(CONFIG_BUILD_DATE_UTC) "\n\n", version_string);
puts("Modification by:\n");
puts(" Piotr Dymacz <piotr@dymacz.pl>\n");
printf("\n***************************************"
"\n* %s *"
- "\n* " __DATE__ ", " __TIME__ " *"
+ "\n* Build: "
+ MK_STR(CONFIG_BUILD_DATE_UTC) " *"
"\n***************************************\n\n",
version_string);