[kernel] remove support for 2.6.27, no target is using it anymore
[openwrt.git] / package / ifxmips-atm / Makefile
1 # Copyright (C) 2009 OpenWrt.org
2 # All rights reserved.
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # blogic@openwrt.org
8 #
9
10 include $(TOPDIR)/rules.mk
11 include $(INCLUDE_DIR)/kernel.mk
12
13 PKG_NAME:=ifxmips-atm
14 PKG_RELEASE:=1
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define KernelPackage/ifxmips-atm
19 SUBMENU:=Network Devices
20 DEPENDS:=@BROKEN @TARGET_ifxmips +kmod-atm
21 TITLE:=ifxmips atm driver
22 FILES:=$(PKG_BUILD_DIR)/ifx-atm.$(LINUX_KMOD_SUFFIX)
23 AUTOLOAD:=$(call AutoLoad,50,ifx-atm)
24 endef
25
26 define Kernel/Package/ifxmips-atm/description
27 This package provides the atm driver needed to make dsl work on ifxmips based boards
28 endef
29
30 define Build/Prepare
31 mkdir -p $(PKG_BUILD_DIR)
32 $(CP) ./src/* $(PKG_BUILD_DIR)/
33 endef
34
35 define Build/Compile
36 $(MAKE) -C "$(LINUX_DIR)" \
37 CROSS_COMPILE="$(TARGET_CROSS)" \
38 ARCH="$(LINUX_KARCH)" \
39 SUBDIRS="$(PKG_BUILD_DIR)" \
40 modules
41 endef
42
43 define KernelPackage/ifxmips-atm/install
44 $(INSTALL_DIR) $(1)/lib/modules/$(LINUX_VERSION)
45 $(CP) $(PKG_BUILD_DIR)/ifx-atm.ko $(1)/lib/modules/$(LINUX_VERSION)
46 endef
47
48 $(eval $(call KernelPackage,ifxmips-atm))
49
This page took 0.042737 seconds and 5 git commands to generate.