]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
fbgrab: explicitly build fbgrab target to workaround gzip issue
authorPeter Korsgaard <peter@korsgaard.com>
Wed, 17 May 2017 14:52:51 +0000 (16:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 17 May 2017 20:46:06 +0000 (22:46 +0200)
commite75f4d6f636af65750486ff746f49d7c26946488
treec53b80c54432b6147d4cb983c76ad9dd4b4bb125
parent4ff1bf944f5b38df75a09b6e991e0d2291ce99e1
fbgrab: explicitly build fbgrab target to workaround gzip issue

Fixes #9871

gzip reads default command line options from the environment variable GZIP.
The fbgrab Makefile internally also uses a GZIP make variable to know what
command to use to compress the manpage. Unfortunaly make will export the
value of this make variable to the environment if GZIP is already present in
the enviroment, confusing gzip (as 'gzip' isn't a valid command line argument).

This can either be triggered by users having GZIP set in their environment
(E.G.  for custom options), or by enabling BR2_REPRODUCIBLE, where we use
this feature to force the -n option (to not store name/timestamp) to gzip.

We don't really need to compress the manpage as it isn't installed anyway,
so work around the issue by only building the fbgrab application.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit be8d1efd1e5b8c4ceed34e8144d2cac075ab364e)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/fbgrab/fbgrab.mk