fs/squashfs: honour the number of parallel jobs
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Aug 2017 15:41:02 +0000 (17:41 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 9 Aug 2017 21:57:35 +0000 (23:57 +0200)
commit62e626b2ab9f60b21b8c8c392b0dc4ccd509f69b
tree845c44687d8633072263031d5ca4efe7781fb63b
parent6e661afd27c8edebe42246e14614cb0299ec835c
fs/squashfs: honour the number of parallel jobs

By default, mksquashfs uses all the CPUs available, like us with
BR2_JLEVEL=0.

However, by setting BR21_JLEVEL to non-zero, a user volutarily limits
the number of jobbs allowed to run concurrently (for various reasons,
like this is not a priority task on the machine; or like the
autobuilders, to spread the load accross multiple runs without
overloading the machine).

So, propagate tthe parallelisn settings down to mksquashfs, to repect
the user's will.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Tested-by: Clayton Shotwell <clayton.shotwell@rockwellcollins.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
fs/squashfs/squashfs.mk