dos2unix: use prefix instead of DESTDIR for host installation

prefix defaults to /usr, so setting DESTDIR installs things in
$(HOST_DIR)/usr.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Arnout Vandecappelle 2017-07-05 13:14:45 +02:00 committed by Thomas Petazzoni
parent 223eae404b
commit 86e07957b6

View File

@ -38,7 +38,7 @@ define HOST_DOS2UNIX_BUILD_CMDS
endef
define HOST_DOS2UNIX_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) ENABLE_NLS= \
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) ENABLE_NLS= \
install
endef