imagebuilder: fix bundling of DTS sources
authorJo-Philipp Wich <jo@mein.io>
Sun, 14 May 2017 18:45:06 +0000 (20:45 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 16 May 2017 15:38:33 +0000 (17:38 +0200)
commit379155dc0fcfb00bdbb75c3d0d27d66a81692e43
treeeeb3643ef8405303ac89fef61be746ae703faf82
parentdbaaeae428d1d1d7cc326d5ac9bb9b5b967f960f
imagebuilder: fix bundling of DTS sources

Refer to LINUX_KARCH instead of ARCH when bundling DTS files in the image
builder tarball.

While we're at it, also dereference symbolic links when copying as some
kernel architectures contain symbolic links in their DTS directories.

This fixes aarch64 imagebuilders such as brcm2708/bcm2710 ones in particular
as the kernel refers to "aarch64" as "arm64" internally.

Ref: https://forum.lede-project.org/t/lede-image-builder-problem/3680

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
target/imagebuilder/Makefile