Skip to contentSkip to conversation

add new package fxload

PATCH New Jérémy Rosen 3 participants 4 messages Nov 6, 2012 – Nov 7, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add new package fxload

---
v2: Incorporated comments from Arnout,

I am not sure about the make install target line,

I would have expected prefix= to be set by the environement, but maybe it is not a standard var name for make...

---
 package/Config.in        |    1 +
 package/fxload/Config.in |    9 +++++++++
 package/fxload/fxload.mk |   19 +++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 100644 package/fxload/Config.in
 create mode 100644 package/fxload/fxload.mk
package/Config.in +1 -0
index e531c41..bcd1b47 100644
@@ -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"
package/fxload/Config.in new file +9 -0
new file mode 100644
index 0000000..ac190f0
@@ -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/
package/fxload/fxload.mk new file +19 -0
new file mode 100644
index 0000000..1b5e8c7
@@ -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))
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 add new package fxload

Quoted 1 line · J?r?my Rosen
Quoted 2 lines

---
v2: Incorporated comments from Arnout,

Yep, this is the way to separate additional comments from the commit message.

Quoted 4 lines

I am not sure about the make install target line,

I would have expected prefix= to be set by the environement, but maybe it is not a standard var name for make...

Nope. The usual variable is DESTDIR. I guess in fxload they have chosen prefix
because it's similar to 'configure --prefix'.

Regards,
Arnout

[snip]

Signature · 6 lines
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#3 lore raw

PATCH 1/1 add new package fxload

yay, my first commit to buildroot :)

fight key loggers : write some perl using vim

----- Mail original -----

Quoted 17 lines

De: "Peter Korsgaard" <[email protected]>
?: "J?r?my Rosen" <[email protected]>
Cc: buildroot at busybox.net
Envoy?: Mercredi 7 Novembre 2012 10:49:51
Objet: Re: [PATCH] add new package fxload

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"J?r?my" == J?r?my Rosen <[email protected]> writes:

J?r?my> Signed-off-by: J?r?my Rosen <[email protected]> J?r?my> ---
J?r?my> v2: Incorporated comments from Arnout,

Committed, thanks.

--
Bye, Peter Korsgaard