From 7a03760bbe5382e0f64f662dc4d183c416d96381 Mon Sep 17 00:00:00 2001 From: Arnout Vandecappelle Date: Wed, 5 Jul 2017 13:14:46 +0200 Subject: [PATCH] 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 --- package/imx-usb-loader/imx-usb-loader.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)) -- 2.30.2