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