package/dosfstools: introduce custom install routine
authorMarkus Mayer <mmayer@broadcom.com>
Fri, 31 May 2019 19:41:59 +0000 (12:41 -0700)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 31 May 2019 20:00:49 +0000 (22:00 +0200)
commit4cc31dfa3de505dd138d3d37ac80f7c0428fc1ab
tree6bb6a1e7725ac3281fdbdd683a10b4da3f03714c
parente00e1a8ba718aa969157e90d39f0e9ec8156f3ed
package/dosfstools: introduce custom install routine

We can't use dosfstools' install target, because it'll install *all*
binaries, even the disabled ones. Also, we can't just delete dosfstools
binaries from the target directory after installing them, because other
packages (specifically Busybox) may provide tools of the same name, and
we may end up deleting those instead.

To avoid any issues, we create our own install routines, which only
copy the enabled binaries into the target location.

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
[Thomas: use full destination path for INSTALL commands.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/dosfstools/dosfstools.mk