Skip to content
Snippets Groups Projects
Commit 55a87cd8 authored by Domenico Andreoli's avatar Domenico Andreoli Committed by Masahiro Yamada
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,18 @@ rm -rf -- "${tmpdir}"
mkdir -p -- "${tmpdir}/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
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment