move hardware monitoring support in a separate hwmon.mk (before adding other modules)
[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 DESCRIPTION:=\
29 Kernel driver for the Linksys WRT54G MM/SD-Card Mod
30 URL:=http://kiel.kool.dk/
31 FILES:=$(PKG_BUILD_DIR)/mmc.$(LINUX_KMOD_SUFFIX)
32 AUTOLOAD:=$(call AutoLoad,80,mmc)
33 endef
34
35 define Build/Prepare
36 mkdir -p $(PKG_BUILD_DIR)
37 $(CP) ./src/* $(PKG_BUILD_DIR)/
38 endef
39
40 define Build/Compile
41 $(MAKE) $(MAKEFLAGS_KMOD) \
42 modules
43 endef
44
45 $(eval $(call KernelPackage,broadcom-mmc))
This page took 0.044965 seconds and 5 git commands to generate.