add new package fxload

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>
This commit is contained in:
Jeremy Rosen 2012-11-06 00:50:12 +00:00 committed by Peter Korsgaard
parent cf76170cc3
commit 7103905fde
3 changed files with 29 additions and 0 deletions

View 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"

9
package/fxload/Config.in Normal file
View File

@ -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/

19
package/fxload/fxload.mk Normal file
View File

@ -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))