7a03760bbe
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>
22 lines
712 B
Makefile
22 lines
712 B
Makefile
################################################################################
|
|
#
|
|
# imx-usb-loader
|
|
#
|
|
################################################################################
|
|
|
|
IMX_USB_LOADER_VERSION = 9b0e81cf9511c3a27cf635407714caa2793b570c
|
|
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
|
|
IMX_USB_LOADER_LICENSE = LGPL-2.1+
|
|
IMX_USB_LOADER_LICENSE_FILES = COPYING
|
|
HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
|
|
|
|
define HOST_IMX_USB_LOADER_BUILD_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define HOST_IMX_USB_LOADER_INSTALL_CMDS
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|