build mimo version of the broadcom wl driver as well
[openwrt.git] / package / ueagle-atm / Makefile
1 # $Id: Makefile 2767 2005-12-25 02:10:14Z wbx $
2
3 include $(TOPDIR)/rules.mk
4 include $(TOPDIR)/package/kernel.mk
5
6 PKG_NAME:=ueagle-atm
7 PKG_VERSION:=1.0d1
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
10
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
12 PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_CAT:=zcat
15
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
20 #FIXME: add dependency on kmod-usb-core
21 define Package/kmod-ueagle-atm
22 SECTION:=drivers
23 CATEGORY:=Drivers
24 DEPENDS:=@LINUX_2_6_BRCM @PACKAGE_KMOD_USB
25 TITLE:=Driver for Eagle 8051 based USB ADSL modems
26 DESCRIPTION:=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 endef
30
31 define Build/Compile
32 $(MAKE) -C $(PKG_BUILD_DIR) \
33 ARCH="$(LINUX_KARCH)" \
34 CROSS_COMPILE="$(TARGET_CROSS)" \
35 TARGET="$(HAL_TARGET)" \
36 KERNELDIR="$(LINUX_DIR)" \
37 all
38 endef
39
40 define Package/kmod-ueagle-atm/install
41 install -d -m0755 $(1)/lib/modules/$(LINUX_VERSION)
42 $(CP) $(PKG_BUILD_DIR)/driver/ueagle-atm.$(LINUX_KMOD_SUFFIX) \
43 $(PKG_BUILD_DIR)/usbatm_iso/usbatm.$(LINUX_KMOD_SUFFIX) \
44 $(1)/lib/modules/$(LINUX_VERSION)/
45 install -d -m0755 $(1)/etc/modules.d
46 install -m0644 ./files/$(PKG_NAME).modules \
47 $(1)/etc/modules.d/10-$(PKG_NAME)
48 endef
49
50 $(eval $(call BuildPackage,kmod-ueagle-atm))
51
This page took 0.041923 seconds and 5 git commands to generate.