gptfdisk: ensure that the package always builds/installs something
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 7 Mar 2013 10:45:25 +0000 (10:45 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 10 Mar 2013 21:12:19 +0000 (22:12 +0100)
commit2a86ea7fc968f297e5b8c6679770d6b5b8fd4646
treef8be5f156fe81211e8e8874eaf935984154edec8
parent29b83f05274d312a0088dcfdfd52fffb65f64422
gptfdisk: ensure that the package always builds/installs something

Until now, selecting just the gptfdisk package wouldn't do anything.
It wouldn't build anything at all, and wouldn't install anything.
This is rather odd.

So now, we ensure that at least one of the two tools that gptfdisk can
build and install is selected. This allows use to factorize a bit the
select of util-linux in Config.in, and remove the if condition in the
makefile that was preventing the package from being built if no tools
was selected.

[Peter: Reword commit text]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/gptfdisk/Config.in
package/gptfdisk/gptfdisk.mk