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