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>
Sun, 14 May 2017 19:43:06 +0000 (21:43 +0200)
commit37e7a1734ff4fe8777ff24345dbd6135c188c61a
tree523587a714c9bc321725fef5b6d95db19f349991
parent83e4ed3497d40dc7da9d2d2c2febbf6272815c51
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