On Sunday, August 31, 2014 at 08:16:53 AM, Masahiro Yamada wrote: > 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 <yamad...@jp.panasonic.com> > ---
Nice idea, Acked-by: Marek Vasut <ma...@denx.de> Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot