aboutsummaryrefslogtreecommitdiff
path: root/package/imx-usb-loader/imx-usb-loader.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/imx-usb-loader/imx-usb-loader.mk')
-rw-r--r--package/imx-usb-loader/imx-usb-loader.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/imx-usb-loader/imx-usb-loader.mk b/package/imx-usb-loader/imx-usb-loader.mk
new file mode 100644
index 0000000000..4b60505317
--- /dev/null
+++ b/package/imx-usb-loader/imx-usb-loader.mk
@@ -0,0 +1,22 @@
+################################################################################
+#
+# 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
+IMX_USB_LOADER_DEPENDENCIES = host-libusb
+
+define HOST_IMX_USB_LOADER_BUILD_CMDS
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D)
+endef
+
+define HOST_IMX_USB_LOADER_INSTALL_CMDS
+ $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \
+ DESTDIR=$(HOST_DIR) sysconfdir=/etc install
+endef
+
+$(eval $(host-generic-package))