aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro/recipes-kernel
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2015-01-12 21:20:54 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2015-01-12 21:20:54 +0200
commit3f97d33efa613ff7ecd34cea90faf3dee1621551 (patch)
tree4256209af09940f41ef556298b445d6e85e399b9 /meta-linaro/recipes-kernel
parent864b9492ecb4ac22088ad540aa8201f1207bc8e0 (diff)
bootwrapper: update device tree files location
Since 3.19 kernel , a vendor subdir has been include on arm64 architecture. e.g. arch/arm64/boot/dts/rtsm_ve-aemv8a.dtb moved to arch/arm64/boot/dts/arm/rtsm_ve-aemv8a.dtb Update the recipe to reflect this change, without breaking assumption on device tree files path prior to 3.19 changes. Change-Id: Ic4700c788c03979cf6cf36173ad424c68c89f933 Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'meta-linaro/recipes-kernel')
-rw-r--r--meta-linaro/recipes-kernel/linux/bootwrapper.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-linaro/recipes-kernel/linux/bootwrapper.inc b/meta-linaro/recipes-kernel/linux/bootwrapper.inc
index 23b4eccc..cbe5a068 100644
--- a/meta-linaro/recipes-kernel/linux/bootwrapper.inc
+++ b/meta-linaro/recipes-kernel/linux/bootwrapper.inc
@@ -29,21 +29,21 @@ do_compile_append() {
--with-cmdline="${BOOTARGS_COMMON} root=/dev/vda"
make IMAGE=linux-system-foundation.axf clean
make DTC=${B}/scripts/dtc/dtc \
- KERNEL_DTB="${DTBDIR}/foundation-v8.dtb" \
+ KERNEL_DTB=`find ${DTBDIR} -type f -name "foundation-v8.dtb"` \
IMAGE=linux-system-foundation.axf
make IMAGE=img-foundation.axf clean
./configure --host=aarch64-linux-gnu \
--with-kernel-dir="${B}" \
--with-cmdline="${BOOTARGS_COMMON} root=/dev/vda2"
make DTC=${B}/scripts/dtc/dtc \
- KERNEL_DTB="${DTBDIR}/foundation-v8.dtb" \
+ KERNEL_DTB=`find ${DTBDIR} -type f -name "foundation-v8.dtb"` \
IMAGE=img-foundation.axf
make IMAGE=img.axf clean
./configure --host=aarch64-linux-gnu \
--with-kernel-dir="${B}" \
--with-cmdline="${BOOTARGS_COMMON} root=/dev/mmcblk0p2"
make DTC=${B}/scripts/dtc/dtc \
- KERNEL_DTB="${DTBDIR}/rtsm_ve-aemv8a.dtb" \
+ KERNEL_DTB=`find ${DTBDIR} -type f -name "rtsm_ve-aemv8a.dtb"` \
IMAGE=img.axf
}