mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
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>
This commit is contained in:
parent
5d9f423ddb
commit
3b61297024
56 changed files with 1 additions and 56 deletions
|
@ -9,7 +9,6 @@
|
|||
linux/lib/rbtree.c
|
||||
*/
|
||||
|
||||
#define __UBOOT__
|
||||
#include <linux/rbtree_augmented.h>
|
||||
#ifndef __UBOOT__
|
||||
#include <linux/export.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue