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
15 PKG_BUILD_DIR
:=$(KERNEL_BUILD_DIR
)/$(PKG_NAME
)
17 include $(INCLUDE_DIR
)/package.mk
19 define KernelPackage
/d80211
20 SUBMENU
:=Wireless Drivers
21 DEPENDS
:=@LINUX_2_6 kmod-crypto
22 TITLE
:=DeviceScape
802.11 stack
23 DESCRIPTION
:=DeviceScape
802.11 stack
24 VERSION
:=$(LINUX_VERSION
)+$(PKG_VERSION
)-$(BOARD
)-$(LINUX_RELEASE
)
25 FILES
:=$(PKG_BUILD_DIR
)/*.ko
26 AUTOLOAD
:=$(call AutoLoad
,20,d80211 rc80211_simple
)
30 mkdir
-p
$(PKG_BUILD_DIR
)
31 $(CP
) .
/src
/* $(PKG_BUILD_DIR
)/
35 $(MAKE
) -C
"$(LINUX_DIR)" \
36 CROSS_COMPILE
="$(TARGET_CROSS)" \
37 ARCH
="$(LINUX_KARCH)" \
38 SUBDIRS
="$(PKG_BUILD_DIR)" \
39 EXTRA_CFLAGS
="-I$(PKG_BUILD_DIR)/include" \
43 define Build
/InstallDev
44 mkdir
-p
$(STAGING_DIR
)/usr
/include/net
45 $(CP
) .
/src
/include/net
/* $(STAGING_DIR
)/usr
/include/net
/
48 define Build
/UninstallDev
49 rm -f
$(STAGING_DIR
)/usr
/include/net
/d80211
*
52 $(eval
$(call KernelPackage
,d80211
))
This page took 0.04198 seconds and 5 git commands to generate.