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.
8 include $(TOPDIR
)/rules.mk
9 include $(INCLUDE_DIR
)/kernel.mk
15 PKG_SOURCE
:=nozomi_
$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.pharscape.org
/3G
17 PKG_MD5SUM
:=90e4d8f389a18b5579f7234a23e32e99
19 include $(INCLUDE_DIR
)/package.mk
21 PKG_UNPACK
:=mkdir
-p
$(PKG_BUILD_DIR
); gzip
-dc
$(DL_DIR
)/$(PKG_SOURCE
) |
$(TAR
) -C
$(PKG_BUILD_DIR
) $(TAR_OPTIONS
)
23 define KernelPackage
/nozomi
24 SUBMENU
:=Other modules
25 TITLE
:=Option Globetrotter HSDPA driver
26 URL
:=http
://www.pharscape.org
/
27 DEPENDS
:=@LINUX_2_4 @PCMCIA_SUPPORT
28 FILES
:=$(PKG_BUILD_DIR
)/noz.
$(LINUX_KMOD_SUFFIX
)
29 AUTOLOAD
:=$(call AutoLoad
,70,noz
)
32 define Build
/Configure
33 $(CP
) .
/files
/Makefile
$(PKG_BUILD_DIR
)/
37 $(MAKE
) -C
"$(LINUX_DIR)" \
38 CROSS_COMPILE
="$(TARGET_CROSS)" \
39 ARCH
="$(LINUX_KARCH)" \
40 PATH
="$(TARGET_PATH)" \
41 SUBDIRS
="$(PKG_BUILD_DIR)" \
45 $(eval
$(call KernelPackage
,nozomi
))