diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-01-21 13:19:18 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-28 20:27:31 +0300 |
commit | 662282203ac535d98d523700bfdba09664b2225d (patch) | |
tree | 633aaac05f90519d382a1ac27ca3f35b5bc9ff41 /cmd | |
parent | 144fbea96952b4959d5a11f9ab61e0e645e9eb5b (diff) | |
download | u-boot-662282203ac535d98d523700bfdba09664b2225d.tar.xz |
libfdt: migrate include/libfdt_env.h to a wrapper
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@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions