update bcm4710 cache fixes for linux 2.6.16
[openwrt.git] / target / linux / package / ueagle-atm / Makefile
1 # $Id: Makefile 2767 2005-12-25 02:10:14Z wbx $
2
3 include $(TOPDIR)/rules.mk
4 include ../../rules.mk
5
6 PKG_NAME:=ueagle-atm
7 PKG_VERSION:=1.0d1
8 PKG_RELEASE:=1
9 PKG_MD5SUM:=5da1fceb15168f4c7ad407a3e38ddecb
10
11 PKG_SOURCE_URL:=http://castet.matthieu.free.fr/eagle/release/
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_CAT:=zcat
14
15 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
16 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
17
18 include $(TOPDIR)/package/rules.mk
19
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))))
21
22 $(PKG_BUILD_DIR)/.configured:
23 touch $@
24
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)" \
31 all
32 touch $@
33
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) $(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)
42
This page took 0.042894 seconds and 5 git commands to generate.