Commit Graph

2 Commits

Author SHA1 Message Date
Jason A. Donenfeld
4bbec5655c mkdtimg: Bundle upstream python rewrite as submodule
The old C version is now deprecated, so we don't have to bother with
integrating that into the build system. That makes it quite easy for us
to bundle upstream libufdt as a submodule in dtc/libufdt (just beside
dtc/libfdt), and therefore not require exotic out of tree build
dependencies.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Julian Liu <wlootlxt123@gmail.com>
2022-11-12 11:19:02 +00:00
Jason A. Donenfeld
f00c01ec68 dtc: Bundle AOSP's fork of dtc
We apparently need their fork so that the generated dtbo.img works,
since we're using Android's overlay dtb.

They've done horrible things to it to support broken AOSP tools, so we
hack around that by introducing our own make file and wiring the whole
thing into the kernel's build system seamlessly.

Since we're now bundling in the correct dtc, we also no longer respect
the config's chosen dtc.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Signed-off-by: Julian Liu <wlootlxt123@gmail.com>
[libxzr: Pull it from my own repo]
Signed-off-by: LibXZR <xzr467706992@163.com>
2022-11-12 11:19:02 +00:00