summaryrefslogtreecommitdiffstats
path: root/package/nozomi/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 23:55:49 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-11-03 23:55:49 +0000
commit106223e27e44d85b28c5a24cab8bddd43a3dd83c (patch)
treeb323c9ea2d0f343c3d02b8bbf7d118ae22d58e04 /package/nozomi/Makefile
parente94772e7a30ee6d27ec99a9bc6b65161d6e32fb3 (diff)
add nozomi driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5431 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/nozomi/Makefile')
-rw-r--r--package/nozomi/Makefile50
1 files changed, 50 insertions, 0 deletions
diff --git a/package/nozomi/Makefile b/package/nozomi/Makefile
new file mode 100644
index 000000000..6a698032b
--- /dev/null
+++ b/package/nozomi/Makefile
@@ -0,0 +1,50 @@
+#
+# Copyright (C) 2006 OpenWrt.org
+#
+# This is free software, licensed under the GNU General Public License v2.
+# See /LICENSE for more information.
+#
+# $Id: Makefile 4855 2006-09-24 20:49:31Z nico $
+
+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
+PKG_MD5SUM:=a90e4d8f389a18b5579f7234a23e32e99
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+
+include $(INCLUDE_DIR)/package.mk
+
+PKG_UNPACK:=mkdir -p $(PKG_BUILD_DIR); $(ZCAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR) -C $(PKG_BUILD_DIR) $(TAR_OPTIONS)
+
+define KernelPackage/nozomi
+ SUBMENU:=Other modules
+ TITLE:=Option Globetrotter HSDPA driver
+ DESCRIPTION:=Option Globetrotter HSDPA driver
+ URL:=http://www.pharscape.org/
+ VERSION:=$(LINUX_VERSION)+$(PKG_VERSION)-$(BOARD)-$(PKG_RELEASE)
+ 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))