[U-Boot] [PATCH v2] MAKEALL: fix kill_children for BSD hosts

Joe Hershberger joe.hershberger at gmail.com
Fri Feb 8 21:52:58 CET 2013


On Fri, Feb 8, 2013 at 2:35 AM, Andreas Bießmann
<andreas.devel at googlemail.com> wrote:
> ps on BSD hosts (like OS X) do not provide the --no-headers switch nor
> understand the AIX format descriptions. Unfortunately there seems no solution to
> get the PIDs of children in a platfrom independent manner.
> Therefore detect the OS and decide upon that which way to go.
>
> This patch makes the MAKEALL script cleanly stoppable on bare OS X when using
> the parallel builds of targets.
>
> Additionally this patch removes double call to grep by a single call to sed for
> GNU style child PID detection.
>
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> Cc: Joe Hershberger <joe.hershberger at ni.com>
> ---

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list