dosfstools: make sure install targets aren't run everytime
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2010 14:50:18 +0000 (15:50 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Feb 2010 19:34:55 +0000 (20:34 +0100)
commite83529882b71cb8a2c6ba2c997308196a2857af0
tree556c3e7fb2c0629cbdb11132d3038f97aeb4021e
parent520dd9fbe5896175285a494aeeabe221bce9db62
dosfstools: make sure install targets aren't run everytime

Adding real targets to $(TARGETS) doesn't work, since they are
prefixed __real_tgt by the main Makefile. 'make' then always thinks
that these targets aren't up-to-date, and re-generate them every time.

Therefore, we switch dosfstools to the more common way of handling
packages, with a phony target added to $(TARGETS), this phony target
depending on real targets.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dosfstools/dosfstools.mk