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.
9 include $(TOPDIR
)/rules.mk
10 include $(INCLUDE_DIR
)/kernel.mk
16 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 PKG_SOURCE_URL
:=http
://castet.matthieu.free.fr
/eagle
/release
/
18 PKG_MD5SUM
:=5da1fceb15168f4c7ad407a3e38ddecb
20 include $(INCLUDE_DIR
)/package.mk
22 define KernelPackage
/ueagle-atm
23 SUBMENU
:=Network Devices
24 DEPENDS
:=@ATM_SUPPORT kmod-usb-core
25 TITLE
:=Driver for Eagle
8051 based USB ADSL modems
26 URL
:=http
://www.eagle-usb.org
/
27 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
)
29 $(PKG_BUILD_DIR
)/usbatm_iso
/usbatm.
$(LINUX_KMOD_SUFFIX
) \
30 $(PKG_BUILD_DIR
)/driver
/ueagle-atm.
$(LINUX_KMOD_SUFFIX
)
31 AUTOLOAD
:=$(call AutoLoad
,50,usbatm ueagle-atm
)
35 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
36 ARCH
="$(LINUX_KARCH)" \
37 CROSS_COMPILE
="$(TARGET_CROSS)" \
38 TARGET
="$(HAL_TARGET)" \
39 KERNELDIR
="$(LINUX_DIR)" \
43 $(eval
$(call KernelPackage
,ueagle-atm
))