fs/common.mk: enable multithreaded xz compression
authorJames Hilliard <james.hilliard1@gmail.com>
Thu, 24 Jan 2019 08:27:33 +0000 (16:27 +0800)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 3 Aug 2019 17:29:47 +0000 (19:29 +0200)
commit36fb6d174d5230e666a19e331901ff88d4700b1d
tree18c243439e9371f5c36686986340797f43a5f32c
parentcc151c3993090a52d1fef8532f52d74ee6d924c9
fs/common.mk: enable multithreaded xz compression

xz help indicates only 1 thread is used unless we set threads:
-T, --threads=NUM   use at most NUM threads; the default is 1; set to 0
                    to use as many threads as there are processor cores

Since this splits the file into blocks, the result will be not
bit-for-bit identical to single-threaded compression. Therefore, don't
enable this in BR2_REPRODUCIBLE builds.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
[Arnout: append the option instead of repeating the entire command]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
fs/common.mk