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:
parent
86e07957b6
commit
7a03760bbe
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user