diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-09-16 15:52:29 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-20 15:11:08 +0100 |
commit | 91347edaec0363d935ec9b0644e1c835ef589252 (patch) | |
tree | 7b718ea1f7d526227bd4f2e3b17ba2898582b773 | |
parent | f5062f0dec942dff4868a0130718aec486e9022e (diff) | |
download | poky-91347edaec0363d935ec9b0644e1c835ef589252.tar.gz |
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.
(From OE-Core rev: e30c6c93bb70d17244c90c2be12229148f8f6314)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
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() { | |||
200 | echo "Finished copy of initramfs into ./usr" | 200 | echo "Finished copy of initramfs into ./usr" |
201 | } | 201 | } |
202 | 202 | ||
203 | INITRAMFS_BASE_NAME = "initramfs-${PV}-${PR}-${MACHINE}-${DATETIME}" | 203 | INITRAMFS_BASE_NAME ?= "initramfs-${PV}-${PR}-${MACHINE}-${DATETIME}" |
204 | INITRAMFS_BASE_NAME[vardepsexclude] = "DATETIME" | 204 | INITRAMFS_BASE_NAME[vardepsexclude] = "DATETIME" |
205 | do_bundle_initramfs () { | 205 | do_bundle_initramfs () { |
206 | if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then | 206 | if [ ! -z "${INITRAMFS_IMAGE}" -a x"${INITRAMFS_IMAGE_BUNDLE}" = x1 ]; then |