summaryrefslogtreecommitdiff
path: root/board/scb9328
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-04-18 19:09:51 +0900
committerTom Rini <trini@ti.com>2014-05-12 15:19:46 -0400
commit65bb6d8deebf608ac2bd6c3eb60ad81cf5d30f60 (patch)
treede2ea878fe827f3a5e25d83ba0c76684d4fd9f2e /board/scb9328
parent9995d8c8dca4dced5be7c86f75cf53d3166bdead (diff)
downloadu-boot-imx-65bb6d8deebf608ac2bd6c3eb60ad81cf5d30f60.zip
u-boot-imx-65bb6d8deebf608ac2bd6c3eb60ad81cf5d30f60.tar.gz
u-boot-imx-65bb6d8deebf608ac2bd6c3eb60ad81cf5d30f60.tar.bz2
kbuild: build with -Werror=date-time if the compiler supports it
Using __DATE__, __TIME__ would make the build non-deterministic. If the code needs to refer to build date/time, use U_BOOT_DATE and U_BOOT_TIME in include/generated/timestamp_autogenerated.h instead. This commit has been imported from Linux Kernel, which should be applied to U-Boot too: commit fe7c36c7bde12190341722af69358e42171162f3 Author: Josh Triplett <josh@joshtriplett.org> Date: Mon Dec 23 13:56:06 2013 -0800 Makefile: Build with -Werror=date-time if the compiler supports it GCC 4.9 and newer have a new warning -Wdate-time, which warns on any use of __DATE__, __TIME__, or __TIMESTAMP__, which would make the build non-deterministic. Now that the kernel does not use any of those macros, turn on -Werror=date-time if available, to keep it that way. The kernel already (optionally) records this information at build time in a single place; other kernel code should not duplicate that. Signed-off-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: Michal Marek <mmarek@suse.cz> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'board/scb9328')
0 files changed, 0 insertions, 0 deletions