diff options
author | Jason Wessel <jason.wessel@windriver.com> | 2017-12-05 09:51:16 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-18 18:00:23 +0000 |
commit | cf7f4705e65a877cb4b3ac8872369c1b2e81a7be (patch) | |
tree | 3471fc1b2fe71f331f3d2acb7ea3588509b033a1 /meta-skeleton | |
parent | 61af0b446f104c99589cd4473040ca700dba3ff3 (diff) | |
download | openembedded-core-cf7f4705e65a877cb4b3ac8872369c1b2e81a7be.tar.gz openembedded-core-cf7f4705e65a877cb4b3ac8872369c1b2e81a7be.tar.bz2 openembedded-core-cf7f4705e65a877cb4b3ac8872369c1b2e81a7be.zip |
ovmf: Fix build failure for PARALLEL_MAKE with no space
The ovmf package fails to build if you use a PARALLEL_MAKE flag
without a space in it. If you put the following in local.conf for
example:
PARALLEL_MAKE = "-j4"
The build will fail with as follows:
| build.exe: error: Option -n only allows one instance in command line!
| WARNING: /opt/build/ovmf/git-r0/temp/run.do_compile.26080:1 exit 2 from '/opt/build/ovmf/git-r0/git/OvmfPkg/build.sh $PARALLEL_JOBS -a $OVMF_ARCH -b RELEASE -t ${FIXED_GCCVER}'
| ERROR: Function failed: do_compile (log file is located at /opt/build/ovmf/git-r0/temp/log.do_compile.26080)
The failure is because the build.sh expects a space. The simple work
around is to fix the recipe to add some white space. The build.sh
only cares that it gets at least one space between the arguments, the
extra space if someone uses "-j 4" does not cause problems.
Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta-skeleton')
0 files changed, 0 insertions, 0 deletions