]> Git Repo - J-u-boot.git/commit - MAKEALL
MAKEALL: fix kill_children for BSD hosts
authorAndreas Bießmann <[email protected]>
Thu, 7 Feb 2013 22:35:57 +0000 (22:35 +0000)
committerTom Rini <[email protected]>
Mon, 11 Mar 2013 21:00:28 +0000 (17:00 -0400)
commit6bdd9f89673e694df8a1bac6c129b21739ed8a7c
treef376fe2a1ed7a4d905c826b32c1b520c2385974c
parentc08349e77c2353f23397ff60b6faec3cd0304061
MAKEALL: fix kill_children for BSD hosts

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 <[email protected]>
Cc: Joe Hershberger <[email protected]>
Acked-by: Joe Hershberger <[email protected]>
MAKEALL
This page took 0.03466 seconds and 4 git commands to generate.