2006-11-04 01:55:49 +02:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
2007-03-04 06:41:46 +02:00
|
|
|
# $Id$
|
2006-11-04 01:55:49 +02:00
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
|
|
|
|
PKG_NAME:=nozomi
|
|
|
|
PKG_VERSION:=060209
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE:=nozomi_$(PKG_VERSION).tar.gz
|
|
|
|
PKG_SOURCE_URL:=http://www.pharscape.org/3G
|
2006-11-06 15:58:30 +02:00
|
|
|
PKG_MD5SUM:=90e4d8f389a18b5579f7234a23e32e99
|
2006-11-04 01:55:49 +02:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2007-05-09 00:48:19 +03:00
|
|
|
PKG_UNPACK:=mkdir -p $(PKG_BUILD_DIR); gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
|
2006-11-04 01:55:49 +02:00
|
|
|
|
|
|
|
define KernelPackage/nozomi
|
|
|
|
SUBMENU:=Other modules
|
|
|
|
TITLE:=Option Globetrotter HSDPA driver
|
|
|
|
DESCRIPTION:=Option Globetrotter HSDPA driver
|
|
|
|
URL:=http://www.pharscape.org/
|
2006-11-18 17:38:53 +02:00
|
|
|
DEPENDS:=@LINUX_2_4 @PCMCIA_SUPPORT
|
2006-11-04 01:55:49 +02:00
|
|
|
FILES:=$(PKG_BUILD_DIR)/noz.$(LINUX_KMOD_SUFFIX)
|
|
|
|
AUTOLOAD:=$(call AutoLoad,70,noz)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
|
|
|
$(CP) ./files/Makefile $(PKG_BUILD_DIR)/
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C "$(LINUX_DIR)" \
|
|
|
|
CROSS_COMPILE="$(TARGET_CROSS)" \
|
|
|
|
ARCH="$(LINUX_KARCH)" \
|
|
|
|
PATH="$(TARGET_PATH)" \
|
|
|
|
SUBDIRS="$(PKG_BUILD_DIR)" \
|
|
|
|
modules
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call KernelPackage,nozomi))
|