summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-11-26 12:55:17 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 12:03:14 (GMT)
commitd54de3ebc0462f238edbffc31418449e9d14f289 (patch)
tree98ca7705fc0365595cee9592807aa8a46c3a7136
parentfc3d4ce07df4ccbf197a5bc5f49f5b21f0894c05 (diff)
downloadpoky-d54de3ebc0462f238edbffc31418449e9d14f289.tar.gz
linux-dtb.inc: drop unused DTB_NAME variable from do_install
* this is causing do_install to depend on KERNEL_IMAGE_BASE_NAME which in some cases contains something like BUILD_NUMBER from CI, that caused do_install to be reexecuted every single time, which is very sad to be caused by unused variable. * jethro and newer don't need this change, because it's also fixed in commit 86b3f29f93e3f87903668ea317c6bd97be4cdf62 Author: Marek Vasut <marex@denx.de> Date: Thu May 14 14:31:11 2015 +0200 Subject: kernel: Build DTBs early (From OE-Core rev: 7bbed4ecd5e919eb274aeb9d6cdaba2c85cccc71) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/linux/linux-dtb.inc1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-dtb.inc b/meta/recipes-kernel/linux/linux-dtb.inc
index 6b8f1a5..4779be2 100644
--- a/meta/recipes-kernel/linux/linux-dtb.inc
+++ b/meta/recipes-kernel/linux/linux-dtb.inc
@@ -13,7 +13,6 @@ do_install_append() {
13 DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'` 13 DTB=`basename ${DTB} | sed 's,\.dts$,.dtb,g'`
14 fi 14 fi
15 DTB_BASE_NAME=`basename ${DTB} .dtb` 15 DTB_BASE_NAME=`basename ${DTB} .dtb`
16 DTB_NAME=`echo ${KERNEL_IMAGE_BASE_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
17 DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"` 16 DTB_SYMLINK_NAME=`echo ${KERNEL_IMAGE_SYMLINK_NAME} | sed "s/${MACHINE}/${DTB_BASE_NAME}/g"`
18 DTB_PATH="${B}/arch/${ARCH}/boot/dts/${DTB}" 17 DTB_PATH="${B}/arch/${ARCH}/boot/dts/${DTB}"
19 oe_runmake ${DTB} 18 oe_runmake ${DTB}