u-boot-brain/drivers/mtd/ubi
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
..
attach.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
build.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
crc32.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
crc32defs.h UBI: Add basic UBI support to U-Boot (Part 2/8) 2008-11-19 20:34:39 +01:00
crc32table.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
debug.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
debug.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
eba.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
fastmap.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
io.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
kapi.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
Makefile mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
misc.c mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
ubi-media.h mtd, ubi, ubifs: resync with Linux-3.14 2014-08-25 19:25:55 -04:00
ubi.h kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
upd.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
vmt.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
vtbl.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00
wl.c kbuild: force to define __UBOOT__ in all the C sources 2014-09-16 12:23:56 -04:00