aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2016-03-15 14:14:57 +0000
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2016-03-15 14:14:57 +0000
commitb6d82b37dd4330d79450f0ae2936a0eb1dac34c4 (patch)
tree2449dc1c1c5e183b26cc92b4e2266c7383cc6d5b
parent32fcda819acb8ec485d9ab05108d554f807bf75d (diff)
downloadmeta-qcom-b6d82b37dd4330d79450f0ae2936a0eb1dac34c4.tar.gz
meta-qcom-b6d82b37dd4330d79450f0ae2936a0eb1dac34c4.tar.bz2
meta-qcom-b6d82b37dd4330d79450f0ae2936a0eb1dac34c4.zip
linux-qcom-bootimg: do not take DATETIME into account for sstate
The kernel recipe gets rebuilt each time, because we use DATETIME in the output name, let's fix that, and exclude DATETIME value from the dependency signature. Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--recipes-kernel/linux/linux-qcom-bootimg.inc12
1 files changed, 7 insertions, 5 deletions
diff --git a/recipes-kernel/linux/linux-qcom-bootimg.inc b/recipes-kernel/linux/linux-qcom-bootimg.inc
index 663d4c6..28f0091 100644
--- a/recipes-kernel/linux/linux-qcom-bootimg.inc
+++ b/recipes-kernel/linux/linux-qcom-bootimg.inc
@@ -6,10 +6,14 @@ python __anonymous () {
QCOM_BOOTIMG_ROOTFS ?= "undefined"
-do_deploy_append_dragonboard-410c() {
+# set output file names
+DT_IMG_NAME = "dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
+DT_IMG_NAME[vardepsexclude] = "DATETIME"
+
+BOOT_IMG_NAME = "boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
+BOOT_IMG_NAME[vardepsexclude] = "DATETIME"
- DT_IMG_NAME="dt-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
- BOOT_IMG_NAME="boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
+do_deploy_append_dragonboard-410c() {
dtbTool -o ${DEPLOYDIR}/${DT_IMG_NAME}.img -s 2048 ${B}/arch/${ARCH}/boot/dts/qcom/
@@ -38,8 +42,6 @@ do_deploy_append_dragonboard-410c() {
do_deploy_append_ifc6410 () {
- BOOT_IMG_NAME="boot-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}"
-
tmp="${SERIAL_CONSOLES}"
baudrate=`echo $tmp | sed 's/\;.*//'`
ttydev=`echo $tmp | sed -e 's/^[0-9]*\;//' -e 's/\s.*//' -e 's/\;.*//'`