1 # $Id: Makefile 2767 2005-12-25 02:10:14Z wbx $
3 include $(TOPDIR
)/rules.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 $(eval
$(call PKG_template
,KMOD_UEAGLE_ATM
,kmod-ueagle-atm
,$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(PKG_RELEASE
),$(ARCH
),kernel-
$(LINUX_VERSION
)-$(BOARD
) ($(LINUX_RELEASE
))))
22 $(PKG_BUILD_DIR
)/.configured
:
25 $(PKG_BUILD_DIR
)/.built
:
26 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
27 ARCH
="$(LINUX_KARCH)" \
28 CROSS_COMPILE
="$(TARGET_CROSS)" \
29 TARGET
="$(HAL_TARGET)" \
30 KERNELDIR
="$(LINUX_DIR)" \
34 $(IPKG_KMOD_UEAGLE_ATM
):
35 install -m0755
-d
$(IDIR_KMOD_UEAGLE_ATM
)/lib
/modules
/$(LINUX_VERSION
) $(IDIR_KMOD_UEAGLE_ATM
)/etc
/modules.d
36 install -m0644 .
/files
/$(PKG_NAME
).modules
$(IDIR_KMOD_UEAGLE_ATM
)/etc
/modules.d
/10-$(PKG_NAME
)
37 cp
-fpR
$(PKG_BUILD_DIR
)/driver
/ueagle-atm.
$(LINUX_KMOD_SUFFIX
) \
38 $(PKG_BUILD_DIR
)/usbatm_iso
/usbatm.
$(LINUX_KMOD_SUFFIX
) \
39 $(IDIR_KMOD_UEAGLE_ATM
)/lib
/modules
/$(LINUX_VERSION
)/
40 $(RSTRIP_KMOD
) $(IDIR_KMOD_UEAGLE_ATM
)
41 $(IPKG_BUILD
) $(IDIR_KMOD_UEAGLE_ATM
) $(PACKAGE_DIR
)