[U-Boot] [U-Boot, 2/2] standalone: use GCC_VERSION defined in compiler-gcc.h

Tom Rini trini at ti.com
Wed Sep 17 02:45:29 CEST 2014


On Thu, Sep 04, 2014 at 02:40:59AM +0900, Masahiro Yamada wrote:

> Now GCC_VERSION is defined in include/linux/compiler-gcc.h
> (with a little different definition).
> Use it and delete the one in examples/standlone/stub.c.
> 
> This should work on Clang too because __GNUC__, __GNUC_MINOR__,
> __GNUC_PATCHLEVEL__ are also defined on Clang.
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Jeroen Hofstee <jeroen at myspectrum.nl>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140916/c88fc4ed/attachment.pgp>


More information about the U-Boot mailing list