Masahiro Yamada 3b61297024 kbuild: force to define __UBOOT__ in all the C sources
U-Boot has imported various source files from other projects,
mostly Linux.

Something like

  #ifdef __UBOOT__
    [ modification for U-Boot ]
  #else
    [ original code ]
  #endif

is an often used strategy for clarification of adjusted parts,
that is, easier re-sync in future.

Instead of defining __UBOOT__ in each source file,
passing it from the top Makefile would be easier.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Marek Vasut <marex@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
2014-09-16 12:23:56 -04:00
..
2011-10-01 21:56:20 +02:00
2011-01-18 23:38:08 +01:00
2014-01-08 17:20:34 -07:00
2011-10-17 22:25:34 +02:00
2010-05-06 00:17:01 +02:00
2014-08-25 17:02:33 -04:00
2010-05-06 00:17:01 +02:00
2010-05-06 00:17:01 +02:00
2014-01-09 16:08:15 +01:00
2009-12-05 01:30:23 +01:00
2011-09-11 21:24:09 +02:00
2013-05-31 17:12:03 -05:00
2012-10-15 11:53:47 -07:00
2013-11-08 15:25:13 -05:00