]> git.dujemihanovic.xyz Git - u-boot.git/commit
MAKEALL: fix kill_children for BSD hosts
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 7 Feb 2013 22:35:57 +0000 (22:35 +0000)
committerTom Rini <trini@ti.com>
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 <andreas.devel@googlemail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
MAKEALL