aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-09-16 15:52:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-19 23:57:20 +0100
commite30c6c93bb70d17244c90c2be12229148f8f6314 (patch)
tree02305a1722f680ab33f9c8f2940f63e5e5109d9b /meta/classes/kernel.bbclass
parentb7c2edd2d6ded287d8b34dd047ae84d3fd69d4c6 (diff)
downloadopenembedded-core-contrib-e30c6c93bb70d17244c90c2be12229148f8f6314.tar.gz
openembedded-core-contrib-e30c6c93bb70d17244c90c2be12229148f8f6314.tar.bz2
openembedded-core-contrib-e30c6c93bb70d17244c90c2be12229148f8f6314.zip
kernel.bbclass: assign INITRAMFS_BASE_NAME using ?=
Default values for KERNEL_IMAGE_BASE_NAME and MODULE_IMAGE_BASE_NAME are already assigned using ?= and anyone wanting to over-ride one is likely to want to over-ride them all. Make the three consistent with each other. Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index a6112e8913..bfb7350604 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -200,7 +200,7 @@ copy_initramfs() {
echo "Finished copy of initramfs into ./usr"
}
-INITRAMFS_BASE_NAME = "initramfs-${PV}-${PR}-${MACHINE}-${DATETIME}"
+INITRAMFS_BASE_NAME ?= "initramfs-${PV}-${PR}-${MACHINE}-${DATETIME}"
INITRAMFS_BASE_NAME[vardepsexclude] = "DATETIME"
do_bundle_initramfs () {
if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then