Commit 55a87cd8 authored by Domenico Andreoli's avatar Domenico Andreoli Committed by Masahiro Yamada

kbuild: buildtar: add dtbs support

Make 'make tar-pkg' install dtbs.
Signed-off-by: default avatarDomenico Andreoli <domenico.andreoli@linux.com>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 685969e0
...@@ -53,6 +53,18 @@ rm -rf -- "${tmpdir}" ...@@ -53,6 +53,18 @@ rm -rf -- "${tmpdir}"
mkdir -p -- "${tmpdir}/boot" mkdir -p -- "${tmpdir}/boot"
dirs=boot dirs=boot
#
# Try to install dtbs
#
if grep -q '^CONFIG_OF_EARLY_FLATTREE=y' include/config/auto.conf; then
# Only some architectures with OF support have this target
if [ -d "${srctree}/arch/${SRCARCH}/boot/dts" ]; then
$MAKE ARCH="${ARCH}" -f ${srctree}/Makefile INSTALL_DTBS_PATH="${tmpdir}/boot/dtbs/${KERNELRELEASE}" dtbs_install
fi
fi
# #
# Try to install modules # Try to install modules
# #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment