MAKEALL: Fix kill_children
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 30 Oct 2012 15:55:20 +0000 (15:55 +0000)
committerTom Rini <trini@ti.com>
Thu, 6 Dec 2012 18:23:00 +0000 (11:23 -0700)
commitc97d59cbda05fde3bb0544382df93a478b0f194d
tree9c43c5f25d284efb8cac3dcce911ac1f9d4d4a34
parent468ebf190a737dd1021ca15ff350ceee2001372e
MAKEALL: Fix kill_children

When building in parallel, make sure that we look up the children
based on the the actual process group id instead of just assuming
that the MAKEALL pid is the process group id.

Also ensure that logs from incomplete builds are deleted in the
process.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
MAKEALL