amlogic: add odroid-n2-plus dtb to odroid-n2 image

This commit is contained in:
chewitt 2020-09-20 04:43:48 +00:00 committed by Christian Hewitt
parent f253c5b838
commit d33f3b076f

View File

@ -48,6 +48,9 @@ mkimage_dtb(){
if [ "$DTB" != "@@DTB_NAME@@" ]; then
echo "image: copying device tree"
mcopy -s -o "${RELEASE_DIR}/3rdparty/bootloader/dtb/$DTB" ::
if [ "$DTB" = "meson-g12b-odroid-n2.dtb" ]; then
mcopy -s -o "${RELEASE_DIR}/3rdparty/bootloader/dtb/meson-g12b-odroid-n2-plus.dtb" ::
fi
else
echo "image: copying device trees"
mcopy -s -o "${RELEASE_DIR}/3rdparty/bootloader/dtb" ::