1 # $Id: Makefile 2767 2005-12-25 02:10:14Z wbx $
3 include $(TOPDIR
)/rules.mk
4 include $(TOPDIR
)/package
/kernel.mk
9 PKG_MD5SUM
:=5da1fceb15168f4c7ad407a3e38ddecb
11 PKG_SOURCE_URL
:=http
://castet.matthieu.free.fr
/eagle
/release
/
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
16 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
18 include $(TOPDIR
)/package
/rules.mk
20 #FIXME: add dependency on kmod-usb-core
21 define Package
/kmod-ueagle-atm
24 DEPENDS
:=@LINUX_2_6_BRCM
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
)
32 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
33 ARCH
="$(LINUX_KARCH)" \
34 CROSS_COMPILE
="$(TARGET_CROSS)" \
35 TARGET
="$(HAL_TARGET)" \
36 KERNELDIR
="$(LINUX_DIR)" \
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
)
50 $(eval
$(call BuildPackage
,kmod-ueagle-atm
))