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
9 include $(INCLUDE_DIR
)/kernel.mk
12 PKG_VERSION
:=2008_10_13
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=@SF
/linux-hotplug
17 PKG_MD5SUM
:=4477a2457f064228bef4a93ba2f21692
19 include $(INCLUDE_DIR
)/package.mk
24 DEPENDS
:=@USB_SUPPORT
+udev
25 TITLE
:=Downloading firmware into EZ-USB microcontrollers
26 URL
:=http
://linux-hotplug.sourceforge.net
/
30 $(call Build
/Compile
/Default
, \
31 CFLAGS
="$(TARGET_CFLAGS) -I$(LINUX_DIR)/include" \
35 define Package
/fxload
/install
36 $(INSTALL_DIR
) $(1)/sbin
37 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/sbin
/
38 $(INSTALL_DIR
) $(1)/usr
/share
/usb
39 $(INSTALL_DATA
) $(PKG_BUILD_DIR
)/a3load.hex
$(1)/usr
/share
/usb
/
42 $(eval
$(call BuildPackage
,fxload
))