diff options
author | Andreas Bießmann <andreas.devel@googlemail.com> | 2013-02-07 22:35:57 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-03-11 17:00:28 -0400 |
commit | 6bdd9f89673e694df8a1bac6c129b21739ed8a7c (patch) | |
tree | f376fe2a1ed7a4d905c826b32c1b520c2385974c /board/mbx8xx/flash.c | |
parent | c08349e77c2353f23397ff60b6faec3cd0304061 (diff) | |
download | u-boot-imx-6bdd9f89673e694df8a1bac6c129b21739ed8a7c.zip u-boot-imx-6bdd9f89673e694df8a1bac6c129b21739ed8a7c.tar.gz u-boot-imx-6bdd9f89673e694df8a1bac6c129b21739ed8a7c.tar.bz2 |
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>
Diffstat (limited to 'board/mbx8xx/flash.c')
0 files changed, 0 insertions, 0 deletions