2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
11 PKG_VERSION
:=2002_04_11
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/linux-hotplug
16 PKG_MD5SUM
:=cafd71a5bff0c57bcd248273b2541c05
18 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
20 include $(INCLUDE_DIR
)/package.mk
25 DEPENDS
:=@USB_SUPPORT
+udev
26 TITLE
:=Downloading firmware into EZ-USB microcontrollers
27 URL
:=http
://linux-hotplug.sourceforge.net
/
31 $(call Build
/Compile
/Default
, \
32 CFLAGS
="$(TARGET_CFLAGS)" \
36 define Package
/fxload
/install
37 $(INSTALL_DIR
) $(1)/sbin
38 $(CP
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/sbin
/
39 $(INSTALL_DIR
) $(1)/usr
/share
/usb
40 $(CP
) $(PKG_BUILD_DIR
)/a3load.hex
$(1)/usr
/share
/usb
43 $(eval
$(call BuildPackage
,fxload
))