As reported by Peter, using cp during the installation isn't correct,
as it follows symbolic links, potentially over-writing the busybox
binary through its traceroute symbolic link. To avoid that, we pass
INSTALL=$(INSTALL) during the installation step.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
define TRACEROUTE_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
- DESTDIR=$(TARGET_DIR) prefix=/usr install -C $(@D)
+ DESTDIR=$(TARGET_DIR) prefix=/usr install \
+ INSTALL=$(INSTALL) -C $(@D)
endef
$(eval $(generic-package))