[U-Boot] [U-Boot, v3, 6/6] libfdt: migrate include/libfdt_env.h to a wrapper
Tom Rini
trini at konsulko.com
Sun Jan 28 18:54:13 UTC 2018
On Sun, Jan 21, 2018 at 07:19:18PM +0900, Masahiro Yamada wrote:
> libfdt_env.h is supposed to provide system-dependent defines.
>
> scripts/dtc/libfdt/libfdt_env.h from upstream DTC is suitable
> for user-space, so we should use this for USE_HOSTCC case.
>
> For compiling U-Boot, we need to override such system-dependent
> defines, so use <linux/libfdt_env.h> imported from Linux.
>
> <libfdt.h> selects a proper one. Maybe, we should split header
> inclusion completely, but I do not want too many patches at one.
>
> I can rip off the include/libfdt_env.h from HOST_EXTRACFLAGS.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180128/1b05288f/attachment.sig>
More information about the U-Boot
mailing list