diff options
author | Jo-Philipp Wich <jo@mein.io> | 2017-01-04 10:42:28 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2017-01-04 10:49:40 +0100 |
commit | 38a8cea063ee25971bc5a9e8842edda280ed8513 (patch) | |
tree | 87946d3f5a476a5fb17b6c9f9e8685ea9d11cf7c /config | |
parent | 18152e71d8d56b4316900ac42c164c5565369476 (diff) | |
download | mtk-20170518-38a8cea063ee25971bc5a9e8842edda280ed8513.zip mtk-20170518-38a8cea063ee25971bc5a9e8842edda280ed8513.tar.gz mtk-20170518-38a8cea063ee25971bc5a9e8842edda280ed8513.tar.bz2 |
powerpc: boot: fix build with parallel make
The powerpc boot wrapper Makefile is not parallel build safe, causing fixdep
to fail reading dependency files of the addnote, hack-coff and mktree
utilities when concurrently building different image targets.
A typical failure looks like:
Building modules, stage 2.
HOSTCC arch/powerpc/boot/addnote
HOSTCC arch/powerpc/boot/hack-coff
DTC arch/powerpc/boot/taishan.dtb
HOSTCC arch/powerpc/boot/addnote
HOSTCC arch/powerpc/boot/hack-coff
MODPOST 800 modules
fixdep: error opening depfile: arch/powerpc/boot/.hack-coff.d: No such file or directory
scripts/Makefile.host:91: recipe for target 'arch/powerpc/boot/hack-coff' failed
make[5]: *** [arch/powerpc/boot/hack-coff] Error 2
make[5]: *** Waiting for unfinished jobs....
fixdep: error opening depfile: arch/powerpc/boot/.addnote.d: No such file or directory
scripts/Makefile.host:91: recipe for target 'arch/powerpc/boot/addnote' failed
make[5]: *** [arch/powerpc/boot/addnote] Error 2
rm arch/powerpc/boot/taishan.dtb
arch/powerpc/Makefile:263: recipe for target 'cuImage.taishan' failed
make[4]: *** [cuImage.taishan] Error 2
make[4]: *** Waiting for unfinished jobs....
Add a GNU make specific .NOTPARALLEL pseudo rule to enforce sequential building
of the addnote, hack-coff and mktree executables.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions