-
- Downloads
pylibfdt: move pylibfdt to scripts/dtc/pylibfdt and refactor makefile
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@socionext.com>
Showing
- Makefile 1 addition, 1 deletionMakefile
- scripts/Makefile.spl 2 additions, 2 deletionsscripts/Makefile.spl
- scripts/dtc/Makefile 3 additions, 0 deletionsscripts/dtc/Makefile
- scripts/dtc/pylibfdt/.gitignore 4 additions, 0 deletionsscripts/dtc/pylibfdt/.gitignore
- scripts/dtc/pylibfdt/Makefile 30 additions, 0 deletionsscripts/dtc/pylibfdt/Makefile
- scripts/dtc/pylibfdt/libfdt.i_shipped 0 additions, 0 deletionsscripts/dtc/pylibfdt/libfdt.i_shipped
- scripts/dtc/pylibfdt/setup.py 0 additions, 0 deletionsscripts/dtc/pylibfdt/setup.py
- tools/.gitignore 0 additions, 4 deletionstools/.gitignore
- tools/Makefile 0 additions, 30 deletionstools/Makefile
- tools/binman/binman.py 1 addition, 1 deletiontools/binman/binman.py
Loading
Please register or sign in to comment