]> code.ossystems Code Review - openembedded-core.git/commit
kernel bbclass: return to original directory in do_deploy
authorChase Maupin <Chase.Maupin@ti.com>
Wed, 13 Mar 2013 12:03:50 +0000 (07:03 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Mar 2013 13:17:38 +0000 (13:17 +0000)
commitfd5d80ab1a405cb4ef94f2cde25f8c251da490f0
tree103ae8f0c8b04e0eb4dcbcb15735ecedf916f628
parent53e4454fbfacce572fe6ac2e45f75f70c141f1e0
kernel bbclass: return to original directory in do_deploy

* During the base kernel_do_deploy function the directory is
  changed to DEPLOYDIR in order to do some cleanup and symlinking.
  However, the directory is not changed back to the original
  starting directory ${S} at the end.  For append functions this
  means that the starting directory is not ${S} as expected but
  instead ${DEPLOYDIR}.

  For functions like the do_deploy_append in
  recipes-kernel/linux/linux-dtb.inc there is an assumption that
  you are still in the source directory and not the DEPLOYDIR.
  Without this change the .dtb files are not copied because the
  check for the existence of ${DTS_FILE} which is a relative
  path from the ${S} directory fails.  This means that the .dtb
  files are not copied into the deploy directory and subsequently
  the deploy/images directory.

  In the log.do_deploy file you will see lines like:

    Warning: arch/arm/boot/dts/xxxxx.dts is not available!

Signed-off-by: Chase Maupin <Chase.Maupin@ti.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel.bbclass