imx-uxb-loader: 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:46 +02:00 committed by Thomas Petazzoni
parent 86e07957b6
commit 7a03760bbe

View File

@ -15,8 +15,7 @@ define HOST_IMX_USB_LOADER_BUILD_CMDS
endef
define HOST_IMX_USB_LOADER_INSTALL_CMDS
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
DESTDIR=$(HOST_DIR) sysconfdir=/etc install
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
endef
$(eval $(host-generic-package))