2015-05-01 18:15:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# imx-usb-loader
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2018-06-12 17:06:34 +02:00
|
|
|
IMX_USB_LOADER_VERSION = e5394615dd413c3823d5bd1de340933e16a8c07c
|
2015-05-01 18:15:40 +02:00
|
|
|
IMX_USB_LOADER_SITE = $(call github,boundarydevices,imx_usb_loader,$(IMX_USB_LOADER_VERSION))
|
2017-03-30 15:43:34 +02:00
|
|
|
IMX_USB_LOADER_LICENSE = LGPL-2.1+
|
2015-05-01 18:15:40 +02:00
|
|
|
IMX_USB_LOADER_LICENSE_FILES = COPYING
|
2018-05-16 11:16:05 +02:00
|
|
|
IMX_USB_LOADER_DEPENDENCIES = libusb host-pkgconf
|
2016-07-03 00:20:47 +02:00
|
|
|
HOST_IMX_USB_LOADER_DEPENDENCIES = host-libusb host-pkgconf
|
2015-05-01 18:15:40 +02:00
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
define IMX_USB_LOADER_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
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
|
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
define IMX_USB_LOADER_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(TARGET_DIR)/usr install
|
|
|
|
endef
|
|
|
|
|
2015-05-01 18:15:40 +02:00
|
|
|
define HOST_IMX_USB_LOADER_INSTALL_CMDS
|
2017-07-05 13:14:46 +02:00
|
|
|
$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) prefix=$(HOST_DIR) install
|
2015-05-01 18:15:40 +02:00
|
|
|
endef
|
|
|
|
|
2018-05-16 11:16:05 +02:00
|
|
|
$(eval $(generic-package))
|
2015-05-01 18:15:40 +02:00
|
|
|
$(eval $(host-generic-package))
|