openwrtv4/target/linux/ppc44x/patches-3.18
Jo-Philipp Wich 38a8cea063 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>
2017-01-04 10:49:40 +01:00
..
001-crypto-amcc-remove-incorrect-__init-__exit-markups.patch ppc44x: fix build of crypto4xx_core.c 2016-12-25 15:19:20 +01:00
100-openwrt_flashmap.patch ppc44x: use the mtdsplit framework for the Taishan 2015-03-11 12:20:03 +00:00
110-openwrt_dts_cmdline.patch ppc44x: use the mtdsplit framework for the Taishan 2015-03-11 12:20:03 +00:00
900-bootwrapper-parallel-make-fix.patch powerpc: boot: fix build with parallel make 2017-01-04 10:49:40 +01:00