Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
26549 commits behind the upstream repository.
user avatar
Masahiro Yamada authored
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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: default avatarMarek Vasut <marex@denx.de>
Acked-by: default avatarHeiko Schocher <hs@denx.de>
3b612970
History