[MINI2440] Updated defconfig to add (optional) packages
[openwrt/mini2440.git] / package / nozomi / Makefile
blob1c965ac730b8df18b834d8bcbe7d8632d562dbe7
1 #
2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 # $Id$
9 include $(TOPDIR)/rules.mk
10 include $(INCLUDE_DIR)/kernel.mk
12 PKG_NAME:=nozomi
13 PKG_VERSION:=060209
14 PKG_RELEASE:=1
16 PKG_SOURCE:=nozomi_$(PKG_VERSION).tar.gz
17 PKG_SOURCE_URL:=http://www.pharscape.org/3G
18 PKG_MD5SUM:=90e4d8f389a18b5579f7234a23e32e99
20 include $(INCLUDE_DIR)/package.mk
22 PKG_UNPACK:=mkdir -p $(PKG_BUILD_DIR); gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
24 define KernelPackage/nozomi
25 SUBMENU:=Other modules
26 TITLE:=Option Globetrotter HSDPA driver
27 URL:=http://www.pharscape.org/
28 DEPENDS:=@LINUX_2_4 @PCMCIA_SUPPORT
29 FILES:=$(PKG_BUILD_DIR)/noz.$(LINUX_KMOD_SUFFIX)
30 AUTOLOAD:=$(call AutoLoad,70,noz)
31 endef
33 define Build/Configure
34 $(CP) ./files/Makefile $(PKG_BUILD_DIR)/
35 endef
37 define Build/Compile
38 $(MAKE) -C "$(LINUX_DIR)" \
39 CROSS_COMPILE="$(TARGET_CROSS)" \
40 ARCH="$(LINUX_KARCH)" \
41 PATH="$(TARGET_PATH)" \
42 SUBDIRS="$(PKG_BUILD_DIR)" \
43 modules
44 endef
46 $(eval $(call KernelPackage,nozomi))