ui/hob: don't crash if PARALLEL_MAKE doesn't include a space
authorJoshua Lock <josh@linux.intel.com>
Tue, 19 Jul 2011 23:21:24 +0000 (16:21 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Jul 2011 21:08:10 +0000 (22:08 +0100)
commit11113275511720cfd89b50197f5c5c77e53f3c89
tree144c56c8b18320a424397226c23309f9bea11d78
parentb1c758b0b0fee96414b4379217c6ab69327307dd
ui/hob: don't crash if PARALLEL_MAKE doesn't include a space

Use string.strip() as a much safer method of turning the -j value into an int

Fixes [YOCTO #1244]

(Bitbake rev: 03baee9e0a7fc15fc6c226c07c0f50df136ac5b0)

Signed-off-by: Joshua Lock <josh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/ui/hob.py