From: Arnout Vandecappelle Date: Wed, 5 Jul 2017 11:14:46 +0000 (+0200) Subject: imx-uxb-loader: use prefix instead of DESTDIR for host installation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a03760bbe5382e0f64f662dc4d183c416d96381;p=buildroot.git 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) Signed-off-by: Thomas Petazzoni --- diff --git a/package/imx-usb-loader/imx-usb-loader.mk b/package/imx-usb-loader/imx-usb-loader.mk index 1d2c23f825..685fa9d24a 100644 --- a/package/imx-usb-loader/imx-usb-loader.mk +++ b/package/imx-usb-loader/imx-usb-loader.mk @@ -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))