]> code.ossystems Code Review - openembedded-core.git/commit
classes/cml1: ensure -c menuconfig forces a rebuild next time
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 18 Jun 2012 15:50:50 +0000 (16:50 +0100)
committerScott Garman <scott.a.garman@intel.com>
Tue, 2 Oct 2012 01:56:35 +0000 (18:56 -0700)
commita9600e68e64a111be4cb934e14b914fa553b5654
tree5aa46b039466b00c63430df2170698aea49210a3
parent44c102386c9bca17743d2edd1f94d4071974204d
classes/cml1: ensure -c menuconfig forces a rebuild next time

Ensure the following results in the kernel being rebuilt, repackaged and
re-deployed in the final step:

bitbake virtual/kernel
bitbake -c menuconfig virtual/kernel
[ make changes to the kernel configuration and save ]
bitbake virtual/kernel

If there are no changes to the configuration saved, the rebuild will not
be triggered.

Note that this relies on a function recently added to BitBake and
requires full hashing (i.e. BB_SIGNATURE_HANDLER must be set to a
signature handler that inherits from BasicHash) - if this is not the
case or the function is not available in the version of BitBake being
used this change will do nothing.

Fixes [YOCTO #2256].

(From OE-Core rev: 9bf6b60e1599cf5dd87089d42584583cdfd6807a)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cml1.bbclass