[U-Boot] [U-Boot, v2, 3/4] pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile

Tom Rini trini at konsulko.com
Fri Nov 17 15:43:19 UTC 2017


On Tue, Oct 17, 2017 at 01:42:43PM +0900, Masahiro Yamada wrote:

> The pylibfdt is used by dtoc (and, indirectly by binman), but there
> is no reason why it must be generated in the tools/ directory.
> 
> Recently, U-Boot switched over to the bundled DTC, and the directory
> structure under scripts/dtc/ now mirrors the upstream DTC project.
> So, scripts/dtc/pylibfdt is the best location.
> 
> I also rewrote the Makefile in a cleaner Kbuild style.
> 
> The scripts from the upstream have been moved as follows:
> 
>   lib/libfdt/pylibfdt/setup.py -> scripts/dtc/pylibfdt/setup.py
>   lib/libfdt/pylibfdt/libfdt.i -> scripts/dtc/pylibfdt/libfdt.i_shipped
> 
> The .i_shipped is coped to .i during building because the .i must be
> located in the objtree when we build it out of tree.
> 
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

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/20171117/9a44f934/attachment.sig>


More information about the U-Boot mailing list