[meta-arm,3/4] arm/trusted-firmware-a: don't build all targets in parallel
Submitted by Ross Burton on Aug. 28, 2020, 10:15 a.m.
|
Patch ID: 175770
Details
Commit Message
@@ -122,7 +122,10 @@ do_compile() {
sed -i '/^INCLUDE_PATHS/ s,$, \$\{BUILD_CFLAGS},' ${S}/tools/fiptool/Makefile
sed -i 's^OPENSSL_DIR.*=.*$^OPENSSL_DIR = ${STAGING_DIR_NATIVE}/${prefix_native}^' ${S}/tools/*/Makefile
- oe_runmake ${TFA_BUILD_TARGET}
+ # Currently there are races if you build all the targets at once in parallel
+ for T in ${TFA_BUILD_TARGET}; do
+ oe_runmake $T
+ done
}
do_compile[cleandirs] = "${B}"