2015-05-01 18:15:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# imx-usb-loader
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
IMX_USB_LOADER_VERSION = f96aee286ea17c832b7ec922dd76842deb5ce299
|
|
|
|
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
|
|
|
|
IMX_USB_LOADER_LICENSE = LGPLv2.1+
|
|
|
|
IMX_USB_LOADER_LICENSE_FILES = COPYING
|
2015-05-02 13:14:29 +02:00
|
|
|
IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
|
2015-05-01 18:15:40 +02:00
|
|
|
|
|
|
|
define HOST_IMX_USB_LOADER_BUILD_CMDS
|
2015-05-02 13:14:29 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
2015-05-01 18:15:40 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define HOST_IMX_USB_LOADER_INSTALL_CMDS
|
2015-05-02 13:14:29 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
2015-05-01 18:15:40 +02:00
|
|
|
DESTDIR=$(HOST_DIR) sysconfdir=/etc install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-generic-package))
|