6b38f8e69e8b31325809d58f9ea6841c57bd2057
[openwrt.git] / package / ueagle-atm / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
11
12 PKG_NAME:=ueagle-atm
13 PKG_VERSION:=1.0d1
14 PKG_RELEASE:=1
15
16 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
18 PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
19 PKG_CAT:=zcat
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define KernelPackage/ueagle-atm
24 SUBMENU:=Network Devices
25 DEPENDS:=@ATM_SUPPORT kmod-usb-core
26 TITLE:=Driver for Eagle 8051 based USB ADSL modems
27 URL:=http://www.eagle-usb.org/
28 VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
29 FILES:= \
30 $(PKG_BUILD_DIR)/usbatm_iso/usbatm.$(LINUX_KMOD_SUFFIX) \
31 $(PKG_BUILD_DIR)/driver/ueagle-atm.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,50,usbatm ueagle-atm)
33 endef
34
35 define Build/Compile
36 $(MAKE) -C $(PKG_BUILD_DIR) \
37 ARCH="$(LINUX_KARCH)" \
38 CROSS_COMPILE="$(TARGET_CROSS)" \
39 TARGET="$(HAL_TARGET)" \
40 KERNELDIR="$(LINUX_DIR)" \
41 all
42 endef
43
44 $(eval $(call KernelPackage,ueagle-atm))
This page took 0.046619 seconds and 3 git commands to generate.