add new package fxload
authorJeremy Rosen <jeremy.rosen@openwide.fr>
Tue, 6 Nov 2012 00:50:12 +0000 (00:50 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 7 Nov 2012 08:41:59 +0000 (09:41 +0100)
Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/fxload/Config.in [new file with mode: 0644]
package/fxload/fxload.mk [new file with mode: 0644]

index e531c417d3b2c6310d0a8fcd18afa2086529207a..bcd1b47b0c8c18a49e9804fc41c0e61e7cc0da64 100644 (file)
@@ -211,6 +211,7 @@ source "package/flashrom/Config.in"
 source "package/fconfig/Config.in"
 source "package/fis/Config.in"
 source "package/fmtools/Config.in"
+source "package/fxload/Config.in"
 source "package/gadgetfs-test/Config.in"
 source "package/gdisk/Config.in"
 source "package/gpsd/Config.in"
diff --git a/package/fxload/Config.in b/package/fxload/Config.in
new file mode 100644 (file)
index 0000000..ac190f0
--- /dev/null
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_FXLOAD
+       bool "fxload"
+       help
+         This program is conveniently able to download firmware into FX, FX2,
+         and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB.
+         It is intended to be invoked by hotplug scripts when the unprogrammed
+         device appears on the bus.
+
+         http://sourceforge.net/projects/linux-hotplug/
diff --git a/package/fxload/fxload.mk b/package/fxload/fxload.mk
new file mode 100644 (file)
index 0000000..1b5e8c7
--- /dev/null
@@ -0,0 +1,19 @@
+#############################################################
+#
+# fxload
+#
+#############################################################
+FXLOAD_VERSION = 2008_10_13
+FXLOAD_SITE = http://downloads.sourceforge.net/project/linux-hotplug/fxload/$(FXLOAD_VERSION)
+FXLOAD_LICENSE = GPLv2+
+FXLOAD_LICENSE_FILE = COPYING
+
+define FXLOAD_BUILD_CMDS
+    $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
+endef
+
+define FXLOAD_INSTALL_TARGET_CMDS
+    $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) prefix=$(TARGET_DIR) -C $(@D) install
+endef
+
+$(eval $(generic-package))