2015-05-01 18:15:40 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# imx-usb-loader
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-10-19 16:23:08 +02:00
|
|
|
IMX_USB_LOADER_VERSION = 9b0e81cf9511c3a27cf635407714caa2793b570c
|
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
|
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
|
|
|
|
|
|
|
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))
|