source: trunk/package/sierra-directip/Makefile @ 31634

Last change on this file since 31634 was 31634, checked in by hauke, 5 years ago

kernel: remove kernel modules and references to kernels <= 2.6.36

OpenWrt does not support kernel version <= 2.6.36 any more, remove all modules only build for those kernels and all conditions specific for those kernel versions.

  • Property svn:copyright set to Copyright (C) 2006 OpenWrt.org
  • Property svn:eol-style set to native
File size: 954 bytes
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9include $(INCLUDE_DIR)/kernel.mk
10
11PKG_NAME:=sierra-directip
12PKG_RELEASE:=10
13
14include $(INCLUDE_DIR)/package.mk
15
16define KernelPackage/usb-sierrawireless-directip
17  SUBMENU:=USB Support
18  DEPENDS:=+kmod-usb-serial +kmod-usb-net
19  TITLE:=Updated Sierra Wireless drivers for DirectIP
20  FILES:= \
21        $(PKG_BUILD_DIR)/sierra.ko \
22        $(PKG_BUILD_DIR)/sierra_net.ko
23  AUTOLOAD:=$(call AutoLoad,60,sierra sierra_net)
24endef
25
26define Build/Prepare
27        mkdir -p $(PKG_BUILD_DIR)
28        $(CP) ./src/* $(PKG_BUILD_DIR)/
29        $(Build/Patch)
30endef
31
32define Build/Compile
33        $(MAKE) -C "$(LINUX_DIR)" \
34                CROSS_COMPILE="$(TARGET_CROSS)" \
35                ARCH="$(LINUX_KARCH)" \
36                SUBDIRS="$(PKG_BUILD_DIR)" \
37                EXTRA_CFLAGS="$(BUILDFLAGS)" \
38                modules
39endef
40
41$(eval $(call KernelPackage,usb-sierrawireless-directip))
Note: See TracBrowser for help on using the repository browser.