Makefile: Force gzip and xz on module install
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 7 Jul 2015 18:26:07 +0000 (20:26 +0200)
committerMichal Marek <mmarek@suse.com>
Wed, 22 Jul 2015 15:47:12 +0000 (17:47 +0200)
commit3d1450d54a4fc277fc4598acf2335f74b66b08fc
tree831ea50e99c1b1a7c96e4d1c75209c2c97df8b9c
parent6dd3f13e4239a8c2b1e60687d7321bc0df614f33
Makefile: Force gzip and xz on module install

Running `make modules_install` ordinarily will overwrite existing
modules. This is the desired behavior, and is how pretty much every
other `make install` target works.

However, if CONFIG_MODULE_COMPRESS is enabled, modules are passed
through gzip and xz which then do the file writing. Both gzip and xz
will error out if the file already exists, unless -f is passed.

This patch adds -f so that the behavior is uniform.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Makefile