generic: fix yaffs2 build warnings on 3.3
[openwrt.git] / package / sierra-directip / Makefile
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
8 include $(TOPDIR)/rules.mk
9 include $(INCLUDE_DIR)/kernel.mk
10
11 PKG_NAME:=sierra-directip
12 PKG_RELEASE:=10
13
14 include $(INCLUDE_DIR)/package.mk
15
16 define 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)
24 endef
25
26 define Build/Prepare
27 mkdir -p $(PKG_BUILD_DIR)
28 $(CP) ./src/* $(PKG_BUILD_DIR)/
29 $(Build/Patch)
30 endef
31
32 define 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
39 endef
40
41 $(eval $(call KernelPackage,usb-sierrawireless-directip))
This page took 0.043882 seconds and 5 git commands to generate.