[mac80211] Update to compat-wireless-2009-03-31
[openwrt.git] / package / broadcom-mmc / Makefile
1 #
2 # Copyright (C) 2007 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:=broadcom-mmc
13 PKG_VERSION:=0.1
14 PKG_RELEASE:=1
15
16 include $(INCLUDE_DIR)/package.mk
17
18 MAKEFLAGS_KMOD:= -C "$(LINUX_DIR)" \
19 CROSS_COMPILE="$(TARGET_CROSS)" \
20 ARCH="$(LINUX_KARCH)" \
21 PATH="$(TARGET_PATH)" \
22 SUBDIRS="$(PKG_BUILD_DIR)"
23
24 define KernelPackage/broadcom-mmc
25 SUBMENU:=Other modules
26 DEPENDS:=@TARGET_brcm_2_4
27 TITLE:=Kernel driver for the Linksys WRT54G MM/SD-Card Mod
28 URL:=http://kiel.kool.dk/
29 FILES:=$(PKG_BUILD_DIR)/mmc.$(LINUX_KMOD_SUFFIX)
30 AUTOLOAD:=$(call AutoLoad,80,mmc)
31 endef
32
33 define KernelPackage/broadcom-mmc/description
34 Kernel driver for the Linksys WRT54G MM/SD-Card Mod
35 endef
36
37 define Build/Prepare
38 mkdir -p $(PKG_BUILD_DIR)
39 $(CP) ./src/* $(PKG_BUILD_DIR)/
40 endef
41
42 define Build/Compile
43 $(MAKE) $(MAKEFLAGS_KMOD) \
44 modules
45 endef
46
47 $(eval $(call KernelPackage,broadcom-mmc))
This page took 0.037263 seconds and 5 git commands to generate.